Part Number Hot Search : 
CONTROLS VAL1Z D30N03 MB95400 UCC20225 C3904 SB104 ML1469
Product Description
Full Text Search
 

To Download LPC1768FET100 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1. general description the lpc1769/68/67/66/65/64/63 are arm cortex-m3 based microcontrollers for embedded applications featuring a high level of integration and low power consumption. the arm cortex-m3 is a next generation core that offers system enhancements such as enhanced debug features and a higher level of support block integration. the lpc1768/67/66/65/64/63 operate at cpu frequencies of up to 100 mhz. the lpc1769 operates at cpu frequencies of up to 120 mhz. the arm cortex-m3 cpu incorporates a 3-stage pipeline and uses a harvard architecture with separate local instruction and data buses as well as a third bus for peripherals. the arm cortex-m3 cpu also includes an internal prefetch un it that supports speculative branching. the peripheral complement of the lpc1769/68/ 67/66/65/64/63 includes up to 512 kb of flash memory, up to 64 kb of data me mory, ethernet mac, usb device/host/otg interface, 8- channel general pu rpose dma controller, 4 uarts, 2 can channels, 2 ssp controllers, spi interface, 3 i 2 c-bus interfaces, 2-input plus 2-output i 2 s-bus interface, 8-channel 12-bit adc, 10-bit dac, motor control pwm, quadrature encoder interface, four general purpose timers, 6-output genera l purpose pwm, ultra-low power real-time clock (rtc) with separate battery supply, and up to 70 general purpose i/o pins. the lpc1769/68/67/66/65/64/63 are pin- compatible to the 100-pin lpc236x arm7-based microcontroller series. 2. features and benefits ? arm cortex-m3 processor, running at frequencies of up to 100 mhz (lpc1768/67/66/65/64/63) or of up to 120 mhz (lpc1769). a memory protection unit (mpu) supporting eight regions is included. ? arm cortex-m3 built-in nested vector ed interrupt controller (nvic). ? up to 512 kb on-chip flash programming memory. enhanced flash memory accelerator enables high-speed 120 mhz operation with zero wait states. ? in-system programming (isp) and in-application programming (iap) via on-chip bootloader software. ? on-chip sram includes: ? 32/16 kb of sram on the cpu with local code/data bus for high-performance cpu access. lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontrolle r; up to 512 kb flash and 64 kb sram with ethernet, usb 2.0 host/device/otg, can rev. 9 ? 10 august 2012 product data sheet
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 2 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller ? two/one 16 kb sram blocks with separate access paths for higher throughput. these sram blocks may be used for ether net, usb, and dma memory, as well as for general purpose cpu instruction and data storage. ? eight channel general purpose dma controller (gpdma) on the ahb multilayer matrix that can be used with ssp, i 2 s-bus, uart, analog-to-digital and digital-to-analog converter peripherals, timer match signals, and for memory-to-memory transfers. ? multilayer ahb matrix interconnect prov ides a separate bus for each ahb master. ahb masters include the cpu, general pu rpose dma controller, ethernet mac, and the usb interface. this interconnect pr ovides communication with no arbitration delays. ? split apb bus allows high throughput with few stalls between the cpu and dma. ? serial interfaces: ? ethernet mac with rmii interface and dedicated dma controller. (not available on all parts, see ta b l e 2 .) ? usb 2.0 full-speed device/host/otg controller with dedicated dma controller and on-chip phy for device, host, and otg func tions. (not available on all parts, see ta b l e 2 .) ? four uarts with fractional baud rate generation, internal fifo, and dma support. one uart has modem control i/o and rs-485/eia-485 support, and one uart has irda support. ? can 2.0b controller with two channels. (not available on all parts, see ta b l e 2 .) ? spi controller with synchronous, seri al, full duplex communication and programmable data length. ? two ssp controllers with fifo and multi-protocol capab ilities. the ssp interfaces can be used with the gpdma controller. ? three enhanced i 2 c bus interfaces, one with an open-drain output supporting full i 2 c specification and fast mode plus with data rates of 1 mbit/s, two with standard port pins. enhancements include multiple address recognition and monitor mode. ? i 2 s (inter-ic sound) interface for digital au dio input or output, with fractional rate control. the i 2 s-bus interface can be used with the gpdma. the i 2 s-bus interface supports 3-wire and 4-wire data transmit and receive as well as master clock input/output. (not available on all parts, see ta b l e 2 .) ? other peripherals: ? 70 (100 pin package) general purpos e i/o (gpio) pins with configurable pull-up/down resistors. all gpios support a new, configurable open-drain operating mode. the gpio block is accessed throug h the ahb multilayer bus for fast access and located in memory such that it supp orts cortex-m3 bit banding and use by the general purpose dma controller. ? 12-bit analog-to-digital converter (adc) with input multiplexing among eight pins, conversion rates up to 200 khz, and multiple result registers. the 12-bit adc can be used with the gpdma controller. ? 10-bit digital-to-analog converter (dac) with dedicated conversion timer and dma support. (not available on all parts, see ta b l e 2 ) ? four general purpose timers/counters, with a total of eight capture inputs and ten compare outputs. each timer block has an external count input. specific timer events can be selected to generate dma requests. ? one motor control pwm with suppor t for three-phase motor control.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 3 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller ? quadrature encoder interfac e that can monitor one external quadrature encoder. ? one standard pwm/timer block with external count input. ? rtc with a separate power domain and d edicated rtc oscillator. the rtc block includes 20 bytes of battery-powered backup registers. ? watchdog timer (wdt). the wdt can be cl ocked from the internal rc oscillator, the rtc oscillator, or the apb clock. ? arm cortex-m3 system tick timer, including an external clock input option. ? repetitive interrupt timer provides programmable and repeating timed interrupts. ? each peripheral has it s own clock divider for further power savings. ? standard jtag test/debug interface for compatibility with existing tools. serial wire debug and serial wire trace port options. ? emulation trace module enables non-intrusive, high-speed real-time tracing of instruction execution. ? integrated pmu (power management unit) automatically adjusts internal regulators to minimize power consumption during slee p, deep sleep, power-down, and deep power-down modes. ? four reduced power modes: sleep, deep-sleep, power-down, and deep power-down. ? single 3.3 v power supply (2.4 v to 3.6 v). ? four external interrupt inputs configurable as edge/level sensitive. all pins on port 0 and port 2 can be used as edge sensitive interrupt sources. ? non-maskable inte rrupt (nmi) input. ? clock output function th at can reflect the main oscillator clock, irc clock, rtc clock, cpu clock, and the usb clock. ? the wake-up interrupt controlle r (wic) allows the cpu to au tomatically wake up from any priority interrupt that can occur while the clocks are stopped in deep sleep, power-down, and deep power-down modes. ? processor wake-up from power-down mode via any interrupt able to operate during power-down mode (includes external interrupts, rtc interrupt, usb activity, ethernet wake-up interrupt, can bus activity , port 0/2 pin interrupt, and nmi). ? brownout detect with separate threshold for interrupt and forced reset. ? power-on reset (por). ? crystal oscillator with an operating range of 1 mhz to 25 mhz. ? 4 mhz internal rc oscillator trimmed to 1 % accuracy that can optionally be used as a system clock. ? pll allows cpu operation up to the maximum cpu rate without the need for a high-frequency crystal. may be run from the main oscillator, the internal rc oscillator, or the rtc oscillator. ? usb pll for added flexibility. ? code read protection (crp) with different security levels. ? unique device serial number for identification purposes. ? available as lqfp100 (14 mm ? 14 mm ? 1.4 mm) and tfbga100 1 (9 mm ? 9 mm ? 0.7 mm) package. 1. lpc1768/65 only.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 4 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 3. applications 4. ordering information 4.1 ordering options ? emetering ? alarm systems ? lighting ? white goods ? industrial networking ? motor control table 1. ordering information type number package name description version lpc1769fbd100 lqfp100 plastic low profile quad flat package; 100 leads; body 14 ? 14 ? 1.4 mm sot407-1 lpc1768fbd100 lqfp100 plastic low profile quad flat package; 100 leads; body 14 ? 14 ? 1.4 mm sot407-1 LPC1768FET100 tfbga100 plastic thin fine-pitch ball grid array package; 100 balls; body 9 ? 9 ? 0.7 mm sot926-1 lpc1767fbd100 lqfp100 plastic low profile quad flat package; 100 leads; body 14 ? 14 ? 1.4 mm sot407-1 lpc1766fbd100 lqfp100 plastic low profile quad flat package; 100 leads; body 14 ? 14 ? 1.4 mm sot407-1 lpc1765fbd100 lqfp100 plastic low profile quad flat package; 100 leads; body 14 ? 14 ? 1.4 mm sot407-1 lpc1765fet100 tfbga100 plastic thin fine-pitch ball grid array package; 100 balls; body 9 ? 9 ? 0.7 mm sot926-1 lpc1764fbd100 lqfp100 plastic low profile quad flat package; 100 leads; body 14 ? 14 ? 1.4 mm sot407-1 lpc1763fbd100 lqfp100 plastic low profile quad flat package; 100 leads; body 14 ? 14 ? 1.4 mm sot407-1 table 2. ordering options type number flash sram in kb ethernet usb can i 2 s dac maximum cpu operating frequency cpu ahb sram0 ahb sram1 total lpc1769fbd100 512 kb 32 16 16 64 yes device/host/otg 2 yes yes 120 mhz lpc1768fbd100 512 kb 32 16 16 64 yes device/host/otg 2 yes yes 100 mhz LPC1768FET100 512 kb 32 16 16 64 yes device/host/otg 2 yes yes 100 mhz lpc1767fbd100 512 kb 32 16 16 64 yes no no yes yes 100 mhz lpc1766fbd100 256 kb 32 16 16 64 yes device/host/otg 2 yes yes 100 mhz lpc1765fbd100 256 kb 32 16 16 64 no device/host/otg 2 yes yes 100 mhz lpc1765fet100 256 kb 32 16 16 64 no device/host/otg 2 yes yes 100 mhz lpc1764fbd100 128 kb 16 16 - 32 yes device only 2 no no 100 mhz lpc1763fbd100 256 kb 32 16 16 64 no no no yes yes 100 mhz
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 5 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 5. block diagram (1) not available on all parts. see ta b l e 2 . fig 1. block diagram sram 32/64 kb arm cortex-m3 test/debug interface emulation trace module flash accelerator flash 512/256/128 kb dma controller ethernet controller with dma (1) usb host/ device/otg controller with dma (1) i-code bus d-code bus system bus ahb to apb bridge 0 high-speed gpio ahb to apb bridge 1 clock generation, power control, system functions xtal1 xtal2 reset clocks and controls jtag interface debug port usb phy ssp0 uart2/3 i2s (1) i2c2 ri timer timer2/3 external interrupts system control motor control pwm quadrature encoder ssp1 uart0/1 can1/2 (1) i2c0/1 spi0 timer 0/1 wdt pwm1 12-bit adc pin connect gpio interrupt control rtc backup registers 32 khz oscillator apb slave group 1 apb slave group 0 dac (1) rtc power domain lpc1769/68/67/ 66/65/64/63 master master master 002aad944 slave slave slave slave slave rom slave multilayer ahb matrix p0 to p4 sda2 scl2 sck0 ssel0 miso0 mosi0 sck1 ssel1 miso1 mosi1 rxd2/3 txd2/3 pha, phb index eint[3:0] aout mcoa[2:0] mcob[2:0] mci[2:0] mcabort 4 mat2 2 mat3 2 cap2 2 cap3 3 i2srx 3 i2stx tx_mclk rx_mclk rtcx1 rtcx2 vbat pwm1[7:0] 2 mat0/1 2 cap0/1 rd1/2 td1/2 sda0/1 scl0/1 ad0[7:0] sck/ssel mosi/miso 8 uart1 rxd0/txd0 p0, p2 pcap1[1:0] rmii pins usb pins clkout mpu = connected to dma
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 6 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 6. pinning information 6.1 pinning fig 2. pin configuration lqfp100 package fig 3. pin configuration tfbga100 package lpc176xfbd100 50 1 25 75 51 26 76 100 002aad945 002aaf723 lpc1768/65fet100 transparent top view j g k h f e d c b a 246810 13579 ball a1 index area table 3. pin allocation table pin symbol pin symbol pin symbol pin symbol row a 1 tdo/swo 2 p0[3]/rxd0/ad0[6] 3 v dd(3v3) 4 p1[4]/enet_tx_en 5 p1[10]/enet_rxd1 6 p1[16]/enet_mdc 7 v dd(reg)(3v3) 8 p0[4]/i2srx_clk/ rd2/cap2[0] 9 p0[7]/i2stx_clk/ sck1/mat2[1] 10 p0[9]/i2stx_sda/ mosi1/mat2[3] 11 - 12 - row b 1 tms/swdio 2 rtck 3 v ss 4 p1[1]/enet_txd1
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 7 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 5 p1[9]/enet_rxd0 6 p1[17]/ enet_mdio 7v ss 8 p0[6]/i2srx_sda/ ssel1/mat2[0] 9 p2[0]/pwm1[1]/txd1 10 p2[1]/pwm1[2]/rxd1 11 - 12 - row c 1tck/swdclk 2trst 3 tdi 4 p0[2]/txd0/ad0[7] 5 p1[8]/enet_crs 6 p1[15]/ enet_ref_clk 7 p4[28]/rx_mclk/ mat2[0]/txd3 8 p0[8]/i2stx_ws/ miso1/mat2[2] 9v ss 10 v dd(3v3) 11 - 12 - row d 1 p0[24]/ad0[1]/ i2srx_ws/cap3[1] 2 p0[25]/ad0[2]/ i2srx_sda/txd3 3 p0[26]/ad0[3]/ aout/rxd3 4n.c. 5 p1[0]/enet_txd0 6 p1[14]/en et_rx_er 7 p0[5]/i2srx_ws/ td2/cap2[1] 8 p2[2]/pwm1[3]/ cts1/tracedata[3] 9 p2[4]/pwm1[5]/ dsr1/tracedata[1] 10 p2[5]/pwm1[6]/ dtr1/tracedata[0] 11 - 12 - row e 1v ssa 2v dda 3vrefp 4n.c. 5 p0[23]/ad0[0]/ i2srx_clk/cap3[0] 6 p4[29]/tx_mclk/ mat2[1]/rxd3 7 p2[3]/pwm1[4]/ dcd1/tracedata[2] 8 p2[6]/pcap1[0]/ ri1/traceclk 9 p2[7]/rd2/rts1 10 p2[8]/td2/txd2 11 - 12 - row f 1 vrefn 2 rtcx1 3 reset 4 p1[31]/sck1/ ad0[5] 5 p1[21]/mcabort / pwm1[3]/ssel0 6 p0[18]/dcd1/ mosi0/mosi 7 p2[9]/usb_connect/ rxd2 8 p0[16]/rxd1/ ssel0/ssel 9 p0[17]/cts1/ miso0/miso 10 p0[15]/txd1/ sck0/sck 11 - 12 - row g 1 rtcx2 2 vbat 3 xtal2 4 p0[30]/usb_d ? 5 p1[25]/mcoa1/ mat1[1] 6 p1[29]/mcob2/ pcap1[1]/mat0[1] 7v ss 8 p0[21]/ri1/rd1 9 p0[20]/dtr1/scl1 10 p0 [19]/dsr1/sda1 11 - 12 - row h 1 p1[30]/v bus / ad0[4] 2 xtal1 3 p3[25]/mat0[0]/ pwm1[2] 4 p1[18]/usb_up_led/ pwm1[1]/cap1[0] 5 p1[24]/mci2/ pwm1[5]/mosi0 6v dd(reg)(3v3) 7 p0[10]/txd2/ sda2/mat3[0] 8p2[11]/eint1 / i2stx_clk 9v dd(3v3) 10 p0[22]/rts1/td1 11 - 12 - table 3. pin allocation table ?continued pin symbol pin symbol pin symbol pin symbol
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 8 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 6.2 pin description row j 1 p0[28]/scl0/ usb_scl 2 p0[27]/sda0/ usb_sda 3 p0[29]/usb_d+ 4 p1[19]/mcoa0/ usb_ppwr / cap1[1] 5 p1[22]/mcob0/ usb_pwrd/ mat1[0] 6v ss 7 p1[28]/mcoa2/ pcap1[0]/ mat0[0] 8 p0[1]/td1/rxd3/scl1 9 p2[13]/eint3 / i2stx_sda 10 p2[10]/eint0 /nmi 11 - 12 - row k 1 p3[26]/stclk/ mat0[1]/pwm1[3] 2v dd(3v3) 3v ss 4 p1[20]/mci0/ pwm1[2]/sck0 5 p1[23]/mci1/ pwm1[4]/miso0 6 p1[26]/mcob1/ pwm1[6]/cap0[0] 7 p1[27]/clkout /usb_ovrcr / cap0[1] 8 p0[0]/rd1/txd3/sda1 9 p0[11]/rxd2/ scl2/mat3[1] 10 p2[12]/eint2 / i2stx_ws 11 - 12 - table 3. pin allocation table ?continued pin symbol pin symbol pin symbol pin symbol table 4. pin description symbol pin ball type description p0[0] to p0[31] i/o port 0: port 0 is a 32-bit i/o port with individual direction controls for each bit. the operation of port 0 pins depends upon the pin function selected via the pin connect block. pins 12, 13, 14, and 31 of this port are not available. p0[0]/rd1/txd3/ sda1 46 [1] k8 [1] i/o p0[0] ? general purpose digital input/output pin. i rd1 ? can1 receiver input. (l pc1769/68/66/65/64 only). o txd3 ? transmitter output for uart3. i/o sda1 ? i 2 c1 data input/output. (this is not an i 2 c-bus compliant open-drain pin). p0[1]/td1/rxd3/ scl1 47 [1] j8 [1] i/o p0[1] ? general purpose digital input/output pin. o td1 ? can1 transmitter output. (lpc1769/68/66/65/64 only). i rxd3 ? receiver input for uart3. i/o scl1 ? i 2 c1 clock input/output. (this is not an i 2 c-bus compliant open-drain pin). p0[2]/txd0/ad0[7] 98 [2] c4 [2] i/o p0[2] ? general purpose digital input/output pin. o txd0 ? transmitter output for uart0. i ad0[7] ? a/d converter 0, input 7. p0[3]/rxd0/ad0[6] 99 [2] a2 [2] i/o p0[3] ? general purpose digital input/output pin. i rxd0 ? receiver input for uart0. i ad0[6] ? a/d converter 0, input 6.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 9 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller p0[4]/ i2srx_clk/ rd2/cap2[0] 81 [1] a8 [1] i/o p0[4] ? general purpose digital input/output pin. i/o i2srx_clk ? receive clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). i rd2 ? can2 receiver input. (l pc1769/68/66/65/64 only). i cap2[0] ? capture input for timer 2, channel 0. p0[5]/ i2srx_ws/ td2/cap2[1] 80 [1] d7 [1] i/o p0[5] ? general purpose digital input/output pin. i/o i2srx_ws ? receive word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). o td2 ? can2 transmitter output. (lpc1769/68/66/65/64 only). i cap2[1] ? capture input for timer 2, channel 1. p0[6]/ i2srx_sda/ ssel1/mat2[0] 79 [1] b8 [1] i/o p0[6] ? general purpose digital input/output pin. i/o i2srx_sda ? receive data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). i/o ssel1 ? slave select for ssp1. o mat2[0] ? match output for timer 2, channel 0. p0[7]/ i2stx_clk/ sck1/mat2[1] 78 [1] a9 [1] i/o p0[7] ? general purpose digital input/output pin. i/o i2stx_clk ? transmit clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). i/o sck1 ? serial clock for ssp1. o mat2[1] ? match output for timer 2, channel 1. p0[8]/ i2stx_ws/ miso1/mat2[2] 77 [1] c8 [1] i/o p0[8] ? general purpose digital input/output pin. i/o i2stx_ws ? transmit word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). i/o miso1 ? master in slave out for ssp1. o mat2[2] ? match output for timer 2, channel 2. p0[9]/ i2stx_sda/ mosi1/mat2[3] 76 [1] a10 [1] i/o p0[9] ? general purpose digital input/output pin. i/o i2stx_sda ? transmit data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). i/o mosi1 ? master out slave in for ssp1. o mat2[3] ? match output for timer 2, channel 3. p0[10]/txd2/ sda2/mat3[0] 48 [1] h7 [1] i/o p0[10] ? general purpose digital input/output pin. o txd2 ? transmitter output for uart2. i/o sda2 ? i 2 c2 data input/output (this is not an open-drain pin). o mat3[0] ? match output for timer 3, channel 0. p0[11]/rxd2/ scl2/mat3[1] 49 [1] k9 [1] i/o p0[11] ? general purpose digital input/output pin. i rxd2 ? receiver input for uart2. i/o scl2 ? i 2 c2 clock input/output (thi s is not an open-drain pin). o mat3[1] ? match output for timer 3, channel 1. table 4. pin description ?continued symbol pin ball type description
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 10 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller p0[15]/txd1/ sck0/sck 62 [1] f10 [1] i/o p0[15] ? general purpose digital input/output pin. o txd1 ? transmitter output for uart1. i/o sck0 ? serial clock for ssp0. i/o sck ? serial clock for spi. p0[16]/rxd1/ ssel0/ssel 63 [1] f8 [1] i/o p0[16] ? general purpose digital input/output pin. i rxd1 ? receiver input for uart1. i/o ssel0 ? slave select for ssp0. i/o ssel ? slave select for spi. p0[17]/cts1/ miso0/miso 61 [1] f9 [1] i/o p0[17] ? general purpose digital input/output pin. i cts1 ? clear to send input for uart1. i/o miso0 ? master in slave out for ssp0. i/o miso ? master in slave out for spi. p0[18]/dcd1/ mosi0/mosi 60 [1] f6 [1] i/o p0[18] ? general purpose digital input/output pin. i dcd1 ? data carrier detect input for uart1. i/o mosi0 ? master out slave in for ssp0. i/o mosi ? master out slave in for spi. p0[19]/dsr1/ sda1 59 [1] g10 [1] i/o p0[19] ? general purpose digital input/output pin. i dsr1 ? data set ready input for uart1. i/o sda1 ? i 2 c1 data input/output (this is not an i 2 c-bus compliant open-drain pin). p0[20]/dtr1/scl1 58 [1] g9 [1] i/o p0[20] ? general purpose digital input/output pin. o dtr1 ? data terminal ready output for uart1. can also be configured to be an rs-485/e ia-485 output enable signal. i/o scl1 ? i 2 c1 clock input/output (this is not an i 2 c-bus compliant open-drain pin). p0[21]/ri1/rd1 57 [1] g8 [1] i/o p0[21] ? general purpose digital input/output pin. i ri1 ? ring indicator input for uart1. i rd1 ? can1 receiver input. (l pc1769/68/66/65/64 only). p0[22]/rts1/td1 56 [1] h10 [1] i/o p0[22] ? general purpose digital input/output pin. o rts1 ? request to send output for uart1. can also be configured to be an rs-485/eia-485 output enable signal. o td1 ? can1 transmitter output. (lpc1769/68/66/65/64 only). p0[23]/ad0[0]/ i2srx_clk/ cap3[0] 9 [2] e5 [2] i/o p0[23] ? general purpose digital input/output pin. i ad0[0] ? a/d converter 0, input 0. i/o i2srx_clk ? receive clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). i cap3[0] ? capture input for timer 3, channel 0. table 4. pin description ?continued symbol pin ball type description
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 11 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller p0[24]/ad0[1]/ i2srx_ws/ cap3[1] 8 [2] d1 [2] i/o p0[24] ? general purpose digital input/output pin. i ad0[1] ? a/d converter 0, input 1. i/o i2srx_ws ? receive word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). i cap3[1] ? capture input for timer 3, channel 1. p0[25]/ad0[2]/ i2srx_sda/ txd3 7 [2] d2 [2] i/o p0[25] ? general purpose digital input/output pin. i ad0[2] ? a/d converter 0, input 2. i/o i2srx_sda ? receive data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). o txd3 ? transmitter output for uart3. p0[26]/ad0[3]/ aout/rxd3 6 [3] d3 [3] i/o p0[26] ? general purpose digital input/output pin. i ad0[3] ? a/d converter 0, input 3. o aout ? dac output (lpc1769/68/67/66/65/63 only). i rxd3 ? receiver input for uart3. p0[27]/sda0/ usb_sda 25 [4] j2 [4] i/o p0[27] ? general purpose digital inpu t/output pin. output is open-drain. i/o sda0 ? i 2 c0 data input/output. open-drain output (for i 2 c-bus compliance). i/o usb_sda ? usb port i 2 c serial data (otg transceiver, lpc1769/68/66/65 only). p0[28]/scl0/ usb_scl 24 [4] j1 [4] i/o p0[28] ? general purpose digital inpu t/output pin. output is open-drain. i/o scl0 ? i 2 c0 clock input/output. open-drain output (for i 2 c-bus compliance). i/o usb_scl ? usb port i 2 c serial clock (o tg transceiver, lpc1769/68/66/65 only). p0[29]/usb_d+ 29 [5] j3 [5] i/o p0[29] ? general purpose digital input/output pin. i/o usb_d+ ? usb bidirectional d+ line. (lpc1769/68/66/65/64 only). p0[30]/usb_d ? 30 [5] g4 [5] i/o p0[30] ? general purpose digital input/output pin. i/o usb_d? ? usb bidirectional d ? line. (lpc1769/68/66/65/64 only). p1[0] to p1[31] i/o port 1: port 1 is a 32-bit i/o port with individual direction controls for each bit. the operation of port 1 pins depends upon the pin function selected via the pin connect block. pins 2, 3, 5, 6, 7, 11, 12, and 13 of this port are not available. p1[0]/ enet_txd0 95 [1] d5 [1] i/o p1[0] ? general purpose digital input/output pin. o enet_txd0 ? ethernet transmit data 0. (lpc1769/68/67/66/64 only). p1[1]/ enet_txd1 94 [1] b4 [1] i/o p1[1] ? general purpose digital input/output pin. o enet_txd1 ? ethernet transmit data 1. (lpc1769/68/67/66/64 only). p1[4]/ enet_tx_en 93 [1] a4 [1] i/o p1[4] ? general purpose digital input/output pin. o enet_tx_en ? ethernet transm it data enable. (lpc1769/68/67/66/64 only). p1[8]/ enet_crs 92 [1] c5 [1] i/o p1[8] ? general purpose digital input/output pin. i enet_crs ? ethernet carrier sense. (l pc1769/68/67/66/64 only). table 4. pin description ?continued symbol pin ball type description
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 12 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller p1[9]/ enet_rxd0 91 [1] b5 [1] i/o p1[9] ? general purpose digital input/output pin. i enet_rxd0 ? ethernet receive data. (l pc1769/68/67/66/64 only). p1[10]/ enet_rxd1 90 [1] a5 [1] i/o p1[10] ? general purpose digital input/output pin. i enet_rxd1 ? ethernet receive data. (l pc1769/68/67/66/64 only). p1[14]/ enet_rx_er 89 [1] d6 [1] i/o p1[14] ? general purpose digital input/output pin. i enet_rx_er ? ethernet receive error. (lpc1769/68/67/66/64 only). p1[15]/ enet_ref_clk 88 [1] c6 [1] i/o p1[15] ? general purpose digital input/output pin. i enet_ref_clk ? ethernet reference clock. (lpc1769/68/67/66/64 only). p1[16]/ enet_mdc 87 [1] a6 [1] i/o p1[16] ? general purpose digital input/output pin. o enet_mdc ? ethernet miim clock (l pc1769/68/67/66/64 only). p1[17]/ enet_mdio 86 [1] b6 [1] i/o p1[17] ? general purpose digital input/output pin. i/o enet_mdio ? ethernet miim data input and output. (lpc1769/68/67/66/64 only). p1[18]/ usb_up_led/ pwm1[1]/ cap1[0] 32 [1] h4 [1] i/o p1[18] ? general purpose digital input/output pin. o usb_up_led ? usb goodlink led indicator. it is low when the device is configured (non-control endpoints enabled), or when the host is enabled and has detected a device on the bus. it is high when the device is not configured, or when host is enabled and has not detected a device on the bus, or during glo bal suspend. it transitions between low and high (flashes) when the host is enabled and detects activity on the bus. (lpc1769/68/66/65/64 only). o pwm1[1] ? pulse width modulator 1, channel 1 output. i cap1[0] ? capture input for timer 1, channel 0. p1[19]/mcoa0/ usb_ppwr / cap1[1] 33 [1] j4 [1] i/o p1[19] ? general purpose digital input/output pin. o mcoa0 ? motor control pwm channel 0, output a. o usb_ppwr ? port power enable signal for usb port. (lpc1769/68/66/65 only). i cap1[1] ? capture input for timer 1, channel 1. p1[20]/mci0/ pwm1[2]/sck0 34 [1] k4 [1] i/o p1[20] ? general purpose digital input/output pin. i mci0 ? motor control pwm channel 0, input. also quadrature encoder interface pha input. o pwm1[2] ? pulse width modulator 1, channel 2 output. i/o sck0 ? serial clock for ssp0. p1[21]/mcabort / pwm1[3]/ ssel0 35 [1] f5 [1] i/o p1[21] ? general purpose digital input/output pin. o mcabort ? motor control pwm, low-active fast abort. o pwm1[3] ? pulse width modulator 1, channel 3 output. i/o ssel0 ? slave select for ssp0. p1[22]/mcob0/ usb_pwrd/ mat1[0] 36 [1] j5 [1] i/o p1[22] ? general purpose digital input/output pin. o mcob0 ? motor control pwm channel 0, output b. i usb_pwrd ? power status for usb po rt (host power switch, lpc1769/68/66/65 only). o mat1[0] ? match output for timer 1, channel 0. table 4. pin description ?continued symbol pin ball type description
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 13 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller p1[23]/mci1/ pwm1[4]/miso0 37 [1] k5 [1] i/o p1[23] ? general purpose digital input/output pin. i mci1 ? motor control pwm channel 1, input. also quadrature encoder interface phb input. o pwm1[4] ? pulse width modulator 1, channel 4 output. i/o miso0 ? master in slave out for ssp0. p1[24]/mci2/ pwm1[5]/mosi0 38 [1] h5 [1] i/o p1[24] ? general purpose digital input/output pin. i mci2 ? motor control pwm channel 2, input. also quadrature encoder interface index input. o pwm1[5] ? pulse width modulator 1, channel 5 output. i/o mosi0 ? master out slave in for ssp0. p1[25]/mcoa1/ mat1[1] 39 [1] g5 [1] i/o p1[25] ? general purpose digital input/output pin. o mcoa1 ? motor control pwm channel 1, output a. o mat1[1] ? match output for timer 1, channel 1. p1[26]/mcob1/ pwm1[6]/cap0[0] 40 [1] k6 [1] i/o p1[26] ? general purpose digital input/output pin. o mcob1 ? motor control pwm channel 1, output b. o pwm1[6] ? pulse width modulator 1, channel 6 output. i cap0[0] ? capture input for timer 0, channel 0. p1[27]/clkout /usb_ovrcr / cap0[1] 43 [1] k7 [1] i/o p1[27] ? general purpose digital input/output pin. o clkout ? clock output pin. i usb_ovrcr ? usb port over-current status. (lpc1769/68/66/65 only). i cap0[1] ? capture input for timer 0, channel 1. p1[28]/mcoa2/ pcap1[0]/ mat0[0] 44 [1] j7 [1] i/o p1[28] ? general purpose digital input/output pin. o mcoa2 ? motor control pwm channel 2, output a. i pcap1[0] ? capture input for pwm1, channel 0. o mat0[0] ? match output for timer 0, channel 0. p1[29]/mcob2/ pcap1[1]/ mat0[1] 45 [1] g6 [1] i/o p1[29] ? general purpose digital input/output pin. o mcob2 ? motor control pwm channel 2, output b. i pcap1[1] ? capture input for pwm1, channel 1. o mat0[1] ? match output for timer 0, channel 1. p1[30]/v bus / ad0[4] 21 [2] h1 [2] i/o p1[30] ? general purpose digital input/output pin. i v bus ? monitors the presence of usb bus power. (lpc1769/68/66/65/64 only). note: this signal must be h igh for usb reset to occur. i ad0[4] ? a/d converter 0, input 4. p1[31]/sck1/ ad0[5] 20 [2] f4 [2] i/o p1[31] ? general purpose digital input/output pin. i/o sck1 ? serial clock for ssp1. i ad0[5] ? a/d converter 0, input 5. p2[0] to p2[31] i/o port 2: port 2 is a 32-bit i/o port with individual direction controls for each bit. the operation of port 2 pins depends upon the pin function selected via the pin connect block. pins 14 through 31 of this port are not available. table 4. pin description ?continued symbol pin ball type description
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 14 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller p2[0]/pwm1[1]/ txd1 75 [1] b9 [1] i/o p2[0] ? general purpose digital input/output pin. o pwm1[1] ? pulse width modulator 1, channel 1 output. o txd1 ? transmitter output for uart1. p2[1]/pwm1[2]/ rxd1 74 [1] b10 [1] i/o p2[1] ? general purpose digital input/output pin. o pwm1[2] ? pulse width modulator 1, channel 2 output. i rxd1 ? receiver input for uart1. p2[2]/pwm1[3]/ cts1/ tracedata[3] 73 [1] d8 [1] i/o p2[2] ? general purpose digital input/output pin. o pwm1[3] ? pulse width modulator 1, channel 3 output. i cts1 ? clear to send input for uart1. o tracedata[3] ? trace data, bit 3. p2[3]/pwm1[4]/ dcd1/ tracedata[2] 70 [1] e7 [1] i/o p2[3] ? general purpose digital input/output pin. o pwm1[4] ? pulse width modulator 1, channel 4 output. i dcd1 ? data carrier detect input for uart1. o tracedata[2] ? trace data, bit 2. p2[4]/pwm1[5]/ dsr1/ tracedata[1] 69 [1] d9 [1] i/o p2[4] ? general purpose digital input/output pin. o pwm1[5] ? pulse width modulator 1, channel 5 output. i dsr1 ? data set ready input for uart1. o tracedata[1] ? trace data, bit 1. p2[5]/pwm1[6]/ dtr1/ tracedata[0] 68 [1] d10 [1] i/o p2[5] ? general purpose digital input/output pin. o pwm1[6] ? pulse width modulator 1, channel 6 output. o dtr1 ? data terminal ready output for uart1. can also be configured to be an rs-485/e ia-485 output enable signal. o tracedata[0] ? trace data, bit 0. p2[6]/pcap1[0]/ ri1/traceclk 67 [1] e8 [1] i/o p2[6] ? general purpose digital input/output pin. i pcap1[0] ? capture input for pwm1, channel 0. i ri1 ? ring indicator input for uart1. o traceclk ? trace clock. p2[7]/rd2/ rts1 66 [1] e9 [1] i/o p2[7] ? general purpose digital input/output pin. i rd2 ? can2 receiver input. (l pc1769/68/66/65/64 only). o rts1 ? request to send output for uart1. can also be configured to be an rs-485/eia-485 output enable signal. p2[8]/td2/ txd2 65 [1] e10 [1] i/o p2[8] ? general purpose digital input/output pin. o td2 ? can2 transmitter output. (lpc1769/68/66/65/64 only). o txd2 ? transmitter output for uart2. p2[9]/ usb_connect/ rxd2 64 [1] f7 [1] i/o p2[9] ? general purpose digital input/output pin. o usb_connect ? signal used to switch an external 1.5 k ? resistor under software control. used with the softconnect usb feature. (lpc1769/68/66/65/64 only). i rxd2 ? receiver input for uart2. table 4. pin description ?continued symbol pin ball type description
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 15 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller p2[10]/eint0 /nmi 53 [6] j10 [6] i/o p2[10] ? general purpose digital input/out put pin. a low level on this pin during reset starts the isp command handler. i eint0 ? external interrupt 0 input. i nmi ? non-maskable in terrupt input. p2[11]/eint1 / i2stx_clk 52 [6] h8 [6] i/o p2[11] ? general purpose digital input/output pin. i eint1 ? external interrupt 1 input. i/o i2stx_clk ? transmit clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). p2[12]/eint2 / i2stx_ws 51 [6] k10 [6] i/o p2[12] ? general purpose digital input/output pin. i eint2 ? external interrupt 2 input. i/o i2stx_ws ? transmit word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). p2[13]/eint3 / i2stx_sda 50 [6] j9 [6] i/o p2[13] ? general purpose digital input/output pin. i eint3 ? external interrupt 3 input. i/o i2stx_sda ? transmit data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . (lpc1769/68/67/66/65/63 only). p3[0] to p3[31] i/o port 3: port 3 is a 32-bit i/o port with individual direction controls for each bit. the operation of port 3 pins depends upon the pin function selected via the pin connect block. pins 0 through 24, and 27 through 31 of this port are not available. p3[25]/mat0[0]/ pwm1[2] 27 [1] h3 [1] i/o p3[25] ? general purpose digital input/output pin. o mat0[0] ? match output for timer 0, channel 0. o pwm1[2] ? pulse width modulator 1, output 2. p3[26]/stclk/ mat0[1]/pwm1[3] 26 [1] k1 [1] i/o p3[26] ? general purpose digital input/output pin. i stclk ? system tick timer clock input. the maximum stclk frequency is 1/4 of the arm processor clock frequency cclk. o mat0[1] ? match output for timer 0, channel 1. o pwm1[3] ? pulse width modulator 1, output 3. p4[0] to p4[31] i/o port 4: port 4 is a 32-bit i/o port with individual direction controls for each bit. the operation of port 4 pins depends upon the pin function selected via the pin connect block. pins 0 through 27, 30, and 31 of this port are not available. p4[28]/rx_mclk/ mat2[0]/txd3 82 [1] c7 [1] i/o p4[28] ? general purpose digital input/output pin. i rx_mclk ? i 2 s receive master clock. (lpc1769/68/67/66/65 only). o mat2[0] ? match output for timer 2, channel 0. o txd3 ? transmitter output for uart3. p4[29]/tx_mclk/ mat2[1]/rxd3 85 [1] e6 [1] i/o p4[29] ? general purpose digital input/output pin. i tx_mclk ? i 2 s transmit master clock. (lpc1769/68/67/66/65 only). o mat2[1] ? match output for timer 2, channel 1. i rxd3 ? receiver input for uart3. tdo/swo 1 [1] [7] a1 [1] o tdo ? test data out for jtag interface. o swo ? serial wire trace output. table 4. pin description ?continued symbol pin ball type description
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 16 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller [1] 5 v tolerant pad providing digital i/o functions with ttl levels and hysteresis. this pin is pulled up to a voltage level of 2.3 v to 2.6 v. [2] 5 v tolerant pad providing digital i/o functions (with ttl levels and hysteresis) and analog input. when configured as a adc input, digital section of the pad is disabled and the pin is not 5 v tole rant. this pin is pulled up to a voltage level of 2.3 v to 2. 6 v. [3] 5 v tolerant pad providing digital i/o with ttl levels and hysteresis and analog output functi on. when configured as the dac output, digital section of the pad is di sabled. this pin is pulled up to a voltage level of 2.3 v to 2.6 v. tdi 2 [1] [8] c3 [1] [8] i tdi ? test data in for jtag interface. tms/swdio 3 [1] [8] b1 [1] [8] i tms ? test mode select for jtag interface. i/o swdio ? serial wire debug data input/output. trst 4 [1] [8] c2 [1] [8] i trst ? test reset for jtag interface. tck/swdclk 5 [1] [7] c1 [1] [7] i tck ? test clock for jtag interface. i swdclk ? serial wire clock. rtck 100 [1] [7] b2 [1] [7] o rtck ? jtag interface control signal. rstout 14 - o rstout ? this is a 3.3 v pin. low on this pin indicates the microcontroller being in reset state. reset 17 [9] f3 [9] i external reset input: a low-going pulse as short as 50 ns on this pin resets the device, causing i/o ports and peripherals to take on their default states, and processor execut ion to begin at address 0. ttl with hysteresis, 5 v tolerant. xtal1 22 [10] [11] h2 [10] [11] i input to the oscillator circuit and internal clock generator circuits. xtal2 23 [10] [11] g3 [10] [11] o output from the oscillator amplifier. rtcx1 16 [10] [12] f2 [10] [11] i input to the rtc oscillator circuit. rtcx2 18 [10] g1 [10] o output from the rtc oscillator circuit. v ss 31, 41, 55, 72, 83, 97 [10] b3, b7, c9, g7, j6, k3 [10] i ground: 0 v reference. v ssa 11 [10] e1 [10] i analog ground: 0 v reference. this should nominally be the same voltage as v ss , but should be isolated to minimize noise and error. v dd(3v3) 28, 54, 71, 96 [10] k2, h9, c10, a3 [10] i 3.3 v supply voltage: this is the power supply voltage for the i/o ports. v dd(reg)(3v3) 42, 84 [10] h6, a7 [10] i 3.3 v voltage regulator supply voltage: this is the supply voltage for the on-chip voltage regulator only. v dda 10 [10] e2 [10] i analog 3.3 v pad supply voltage: this should be nominally the same voltage as v dd(3v3) but should be isolated to minimize noise and error. this voltage is used to power the adc and dac. this pin should be tied to 3.3 v if the adc and dac are not used. vrefp 12 [10] e3 [10] i adc positive reference voltage: this should be nominally the same voltage as v dda but should be isolated to minimize noise and error. level on this pin is used as a reference for adc and dac. this pin should be tied to 3.3 v if the adc and dac are not used. vrefn 15 f1 i adc negative reference voltage: this should be nominally the same voltage as v ss but should be isolated to minimize noise and error. level on this pin is used as a reference for adc and dac. vbat 19 [10] [12] g2 [10] [12] i rtc pin power supply: 3.3 v on this pin supplies the power to the rtc peripheral. n.c. 13 d4, e4 - not connected. table 4. pin description ?continued symbol pin ball type description
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 17 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller [4] open-drain 5 v tolerant digital i/o pad, compatible with i 2 c-bus 400 khz specification. this pad requ ires an external pull-up to provide output functionality. when power is sw itched off, this pin connected to the i 2 c-bus is floating and does not disturb the i 2 c lines. open-drain configuration applies to all functions on this pin. [5] pad provides digital i/o and usb functi ons. it is designed in accordance with the usb specification, revision 2.0 (full-speed and low-speed mode only). this pad is not 5 v tolerant. [6] 5 v tolerant pad with 10 ns glitch filter providing digital i/o functions with ttl levels and hysteresis. this pin is pulled up to a voltage level of 2.3 v to 2.6 v. [7] 5 v tolerant pad with ttl levels and hysteresis. internal pull-up and pull-down resistors disabled. [8] 5 v tolerant pad with ttl levels and hysteresis and internal pull-up resistor. [9] 5 v tolerant pad with 20 ns glitch filter providi ng digital i/o function with ttl levels and hysteresis. [10] pad provides special analog func tionality. a 32 khz crystal oscillator must be used with the rtc. [11] when the system oscillator is not used, connect xtal1 and xtal2 as follows: xtal1 can be left floating or can be grounded ( grounding is preferred to reduce susceptibility to noise). xtal2 should be left floating. [12] when the rtc is not used, connect vbat to v dd(reg)(3v3) and leave rtcx1 floating.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 18 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 7. functional description 7.1 architectural overview remark: in the following, the notation lpc17xx refers to all parts: lpc1769/68/67/66/65/64/63. the arm cortex-m3 includes th ree ahb-lite buses: the system bus, the i-code bus, and the d-code bus (see figure 1 ). the i-code and d-code core buses are faster than the system bus and are used similarly to tcm interfaces: one bus dedicated for instruction fetch (i-code) and one bus for data access (d-c ode). the use of two core buses allows for simultaneous operations if concurrent operations target different devices. the lpc17xx use a multi-layer ahb matrix to connect the arm cortex-m3 buses and other bus masters to peripherals in a flexible manner that optimizes performance by allowing peripherals that are on different slav es ports of the matrix to be accessed simultaneously by different bus masters. 7.2 arm cortex-m3 processor the arm cortex-m3 is a general purpose, 32-bit microprocessor, which offers high performance and very low power consumptio n. the arm cortex-m3 offers many new features, including a thumb-2 instruction set, low interrupt latenc y, hardware divide, interruptible/continuable multiple load and st ore instructions, automatic state save and restore for interrupts, tightly integrated interrupt controller with wake-up interrupt controller, and multiple core buses capable of simultaneous accesses. pipeline techniques are employed so that all parts of the processing and memory systems can operate continuously. typically, while one instruction is being executed, its successor is being decoded, and a third instruction is being fetched from memory. the arm cortex-m3 processor is described in detail in the cortex-m3 technical reference manual that can be found on official arm website. 7.3 on-chip flash program memory the lpc17xx contain up to 512 kb of on-c hip flash memory. a new two-port flash accelerator maximizes performance for use with the two fast ahb-lite buses. 7.4 on-chip sram the lpc17xx contain a total of 64 kb on-chi p static ram memory. this includes the main 32 kb sram, accessible by the cpu and dma controller on a higher-speed bus, and two additional 16 kb each sram blocks situat ed on a separate slave port on the ahb multilayer matrix. this architecture allows cpu and dma accesses to be spread over three separate rams that can be accessed simultaneously. 7.5 memory protection unit (mpu) the lpc17xx have a memory protection unit (mpu) which can be used to improve the reliability of an embedded system by protecting critical data within the user application.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 19 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller the mpu allows separating processing tasks by disallowing access to each other's data, disabling access to memory regions, allowing memory regions to be defined as read-only and detecting unexpected memory accesses th at could potentially break the system. the mpu separates the memory into distinct regions and implements protection by preventing disallowed accesses. the mpu supports up to 8 regions each of which can be divided into 8 subregions. accesses to memory locations that are not defined in the mpu regions, or not permitted by the region setting, will cause the memory management fault exception to take place. 7.6 memory map the lpc17xx incorporates several distinct memory regions, shown in the following figures. figure 4 shows the overall map of the entire address space from the user program viewpoint following reset. the interrupt vector area supports address remapping. the ahb peripheral area is 2 mb in size and is divided to allow for up to 128 peripherals. the apb peripheral area is 1 mb in size and is divided to allow for up to 64 peripherals. each peripheral of either type is allocated 16 kb of space. this allows simplifying the address decoding for each peripheral.
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 20 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller (1) not available on all parts. see ta b l e 2 . fig 4. lpc17xx memory map 0x5000 0000 0x5000 4000 0x5000 8000 0x5000 c000 0x5020 0000 0x5001 0000 ahb peripherals ethernet controller (1) usb controller (1) reserved 127- 4 reserved gpdma controller 0 1 2 3 apb0 peripherals 0x4000 4000 0x4000 8000 0x4000 c000 0x4001 0000 0x4001 8000 0x4002 0000 0x4002 8000 0x4002 c000 0x4003 4000 0x4003 0000 0x4003 8000 0x4003 c000 0x4004 0000 0x4004 4000 0x4004 8000 0x4004 c000 0x4005 c000 0x4006 0000 0x4008 0000 0x4002 4000 0x4001 c000 0x4001 4000 0x4000 0000 wdt timer 0 timer 1 uart0 uart1 reserved reserved spi rtc + backup registers gpio interrupts pin connect ssp1 adc can af ram (1) can af registers (1) can common (1) can1 (1) can2 (1) 22 - 19 reserved i2c1 31 - 24 reserved 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 23 reserved reserved 32 kb local sram (lpc1769/8/7/6/5/3) 16 kb local sram (lpc1764) reserved reserved private peripheral bus 0x0000 0000 0 gb 0.5 gb 4 gb 1 gb 0x0004 0000 0x0002 0000 0x0008 0000 0x1000 4000 0x1000 0000 0x1000 8000 0x1fff 0000 0x1fff 2000 0x2008 0000 0x2007 c000 0x2008 4000 0x2200 0000 0x200a 0000 0x2009 c000 0x2400 0000 0x4000 0000 0x4008 0000 0x4010 0000 0x4200 0000 0x4400 0000 0x5000 0000 0x5020 0000 0xe000 0000 0xe010 0000 0xffff ffff reserved reserved gpio reserved reserved reserved reserved apb0 peripherals ahb peripherals apb1 peripherals ahb sram bit-band alias addressing peripheral bit-band alias addressing 16 kb ahb sram1 (lpc1769/8/7/6/5) 16 kb ahb sram0 256 kb on-chip flash (lpc1766/65/63) 128 kb on-chip flash (lpc1764) 512 kb on-chip flash (lpc1769/8/7) pwm1 8 kb boot rom 0x0000 0000 0x0000 0400 active interrupt vectors + 256 words i-code/d-code memory space 002aad946 apb1 peripherals 0x4008 0000 0x4008 8000 0x4008 c000 0x4009 0000 0x4009 4000 0x4009 8000 0x4009 c000 0x400a 0000 0x400a 4000 0x400a 8000 0x400a c000 0x400b 0000 0x400b 4000 0x400b 8000 0x400b c000 0x400c 0000 0x400f c000 0x4010 0000 ssp0 dac (1) timer 2 timer 3 uart2 uart3 reserved i2s (1) i2c2 1 - 0 reserved 2 3 4 5 6 7 8 9 10 reserved repetitive interrupt timer 11 12 reserved motor control pwm 30 - 16 reserved 13 14 15 system control 31 qei lpc1769/68/67/66/65/64/63
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 21 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 7.7 nested vectored inte rrupt controller (nvic) the nvic is an integral part of the cortex-m 3. the tight coupling to the cpu allows for low interrupt latency and efficient processing of late arriving interrupts. 7.7.1 features ? controls system exceptions and peripheral interrupts ? in the lpc17xx, the nvic supports 33 vectored interrupts ? 32 programmable interrupt priority levels , with hardware pr iority level masking ? relocatable vector table ? non-maskable in terrupt (nmi) ? software interr upt generation 7.7.2 interrupt sources each peripheral device has one interrupt line connected to the nvic but may have several interrupt flags. individual interrupt flags may also represent more than one interrupt source. any pin on port 0 and port 2 (total of 42 pins ) regardless of the selected function, can be programmed to generate an interrupt on a rising edge, a falling edge, or both. 7.8 pin connect block the pin connect block allows selected pins of the microcontroller to have more than one function. configuration registers control the multiplexers to allow connection between the pin and the on-chip peripherals. peripherals should be connected to the appropriate pins prior to being activated and prior to any related interrupt(s) being enabled. activi ty of any enabled peripheral function that is not mapped to a related pin should be considered undefined. most pins can also be configured as open-drai n outputs or to have a pull-up, pull-down, or no resistor enabled. 7.9 general purpose dma controller the gpdma is an amba ahb compliant periphe ral allowing selected peripherals to have dma support. the gpdma enables peripheral-to-memory, memory-to-peripheral, peripheral-to-peripheral, and memory-to-memory transactions. the source and destination areas can each be either a memory region or a peripheral, and can be accessed through the ahb master. the gpdma controller allows data transfers between the usb and ethernet controllers and the va rious on-chip sram areas. the supported apb peripherals are ssp0/1, all uarts, the i 2 s-bus interface, the adc, and the dac. two match signals for each timer can be used to trigger dma transfers. remark: the ethernet controller is available on parts lpc1769/68/67/66/64. the usb controller is available on parts lpc1769/68/66/65/64. the i 2 s-bus interface is available on parts lpc1769/68/67/66/65. the dac is avai lable on parts lpc1769/68/67/66/65/63.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 22 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 7.9.1 features ? eight dma channels. each channel can support an unidirectional transfer. ? 16 dma request lines. ? single dma and burst dma request signals. each peripheral connected to the dma controller can assert either a burst dma request or a single dma request. the dma burst size is set by programming the dma controller. ? memory-to-memory, memory-to-peripheral, peripheral-to-memory, and peripheral-to-peripheral transfers are supported. ? scatter or gather dma is supported through the use of linked lists. this means that the source and destination areas do not hav e to occupy contiguous areas of memory. ? hardware dma ch annel priority. ? ahb slave dma programming interface. the dma controller is programmed by writing to the dma control regist ers over the ahb slave interface. ? one ahb bus master for transferring data. the interface transfers data when a dma request goes active. ? 32-bit ahb master bus width. ? incrementing or non-incrementing addressing for source and destination. ? programmable dma burst size. the dma burst size can be programmed to more efficiently transfer data. ? internal four-word fifo per channel. ? supports 8, 16, and 32-bit wide transactions. ? big-endian and little-endian support. the dma controller defaults to little-endian mode on reset. ? an interrupt to the processor can be generated on a dma completion or when a dma error has occurred. ? raw interrupt status. the dma error and dma count raw interrupt status can be read prior to masking. 7.10 fast general purpose parallel i/o device pins that are not connec ted to a specific peripheral function are controlled by the gpio registers. pins may be dynamically conf igured as inputs or outputs. separate registers allow setting or clearing any number of outputs simultaneously. the value of the output register may be read back as well as the current state of the port pins. lpc17xx use accelerated gpio functions: ? gpio registers are accessed through the ahb multilayer bus so that the fastest possible i/o timing can be achieved. ? mask registers allow treating sets of por t bits as a group, leaving other bits unchanged. ? all gpio registers are byte and half-word addressable. ? entire port value can be written in one instruction. ? support for cortex-m3 bit banding. ? support for use with the gpdma controller.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 23 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller additionally, any pin on port 0 and port 2 (total of 42 pins) providing a digital function can be programmed to generate an interrupt on a rising edge, a falling edge, or both. the edge detection is asynchronous, so it may operate when clocks are not present such as during power-down mode. each enabled interrupt can be used to wake up the chip from power-down mode. 7.10.1 features ? bit level set and clear registers allow a single instruction to set or clear any number of bits in one port. ? direction control of individual bits. ? all i/o default to inputs after reset. ? pull-up/pull-down resistor configuration and open-drain configuration can be programmed through the pin connect block for each gpio pin. 7.11 ethernet remark: the ethernet controller is available on parts lpc1769/68/67/66/64. the ethernet block supports bus clock rates of up to 100 mhz (lpc1768/67/66/64) or 120 mhz (lpc1769). see table 2 . the ethernet block contains a full featur ed 10 mbit/s or 100 mbit/s ethernet mac designed to provide optimized performa nce through the use of dma hardware acceleration. features include a generous suite of control registers, half or full duplex operation, flow control, cont rol frames, hardware acceleration for transmit retry, receive packet filtering and wake-up on lan activity. automatic frame transmission and reception with scatter-gather dma off-loads many operations from the cpu. the ethernet block and the cpu share the arm cortex-m3 d-code and system bus through the ahb-multilayer matrix to access the various on-chip sram blocks for ethernet data, control, and status information. the ethernet block interfaces between an off-chip ethernet phy using the reduced mii (rmii) protocol and the on-chip media independent interface management (miim) serial bus. 7.11.1 features ? ethernet standards support: ? supports 10 mbit/s or 100 mbit/s phy dev ices including 10 base-t, 100 base-tx, 100 base-fx, and 100 base-t4. ? fully compliant with ieee standard 802.3 . ? fully compliant with 802.3x full duplex fl ow control and half duplex back pressure. ? flexible transmit and receive frame options. ? virtual local area network (vlan) frame support. ? memory management: ? independent transmit and receive buffers memory mapped to shared sram. ? dma managers with scatter/gather dma and arrays of frame descriptors. ? memory traffic optimized by buffering and pre-fetching.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 24 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller ? enhanced ethernet features: ? receive filtering. ? multicast and broadcast frame support for both transmit and receive. ? optional automatic frame check sequence (fcs) insertion with cyclic redundancy check (crc) for transmit. ? selectable automatic transmit frame padding. ? over-length frame support for both transmit and receive allows any length frames. ? promiscuous receive mode. ? automatic collision back-off and frame retr ansmission. ? includes power management by clock switching. ? wake-on-lan power management support allows system wake-up: using the receive filters or a magic frame detection filter. ? physical interface: ? attachment of external phy chip through standard rmii interface. ? phy register access is available via the miim interface. 7.12 usb interface remark: the usb controller is available as device/host/otg controller on parts lpc1769/68/66/65 and as device-only controller on part lpc1764. the universal serial bu s (usb) is a 4-wire bus that supports communication between a host and one or more (up to 127) peripherals. the host controller allocates the usb bandwidth to attached devices through a token-based protocol. the bus supports hot plugging and dynamic configuration of the devi ces. all transactions are initiated by the host controller. the usb interface includes a device, hos t, and otg controller with on-chip phy for device and host functions. the otg switching pr otocol is supported through the use of an external controller. details on typical usb interfac ing solutions can be found in section 14.1 . 7.12.1 usb device controller the device controller enables 12 mbit/s data exchange with a usb host controller. it consists of a register interface, serial interface engine, endpoint buffer memory, and a dma controller. the serial interface engine dec odes the usb data stream and writes data to the appropriate endpoint buffer. the status of a completed usb transfer or error condition is indicated via status registers. an interrupt is also generated if enabled. when enabled, the dma controller transfers data be tween the endpoint buffer and the on-chip sram. 7.12.1.1 features ? fully compliant with usb 2.0 specification (full speed) . ? supports 32 physical (16 logical) endpoints with a 4 kb endpoint buffer ram. ? supports control, bulk, interrupt and isochronous endpoints. ? scalable realization of endpoints at run time.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 25 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller ? endpoint maximum packet size selection (up to usb maximum specification) by software at run time. ? supports softconnect and goodlink features. ? while usb is in the suspend mode, the part can enter one of the reduced power modes and wake up on usb activity. ? supports dma transfers with all on-chip sram blocks on all non-control endpoints. ? allows dynamic switching between cpu-controlled slave and dma modes. ? double buffer implementation for bulk and isochronous endpoints. 7.12.2 usb host controller the host controller enables fu ll- and low-speed data exchange with usb devices attached to the bus. it consists of a register interface, a serial interface engine, and a dma controller. the register interface complies with the ohci specification. 7.12.2.1 features ? ohci compliant. ? one downstream port. ? supports port power switching. 7.12.3 usb otg controller usb otg is a supplement to the usb 2.0 specification that augmen ts the capability of existing mobile devices and usb peripherals by adding host functiona lity for connection to usb peripherals. the otg controller integrates the host contro ller, device controller, and a master-only i 2 c-bus interface to implement otg dual-rol e device functionality. the dedicated i 2 c-bus interface controls an ex ternal otg transceiver. 7.12.3.1 features ? fully compliant with on-the-go supplement to the u sb 2.0 specification, revision 1.0a . ? hardware support for host negotiation protocol (hnp). ? includes a programmable timer required for hnp and session request protocol (srp). ? supports any otg transceiver compliant with the otg transceiver specification (cea-2011), rev. 1.0 . 7.13 can controller and acceptance filters remark: the can controllers are available on parts lpc1769/68/66/65/64. see ta b l e 2 . the controller area network (can) is a serial communications protocol which efficiently supports distributed real-time control with a very high level of security. its domain of application ranges from high-speed ne tworks to low cost multiplex wiring. the can block is intended to support multip le can buses simultaneously, allowing the device to be used as a gateway, switch, or router among a number of can buses in industrial or automotive applications.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 26 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 7.13.1 features ? two can controllers and buses. ? data rates to 1 mbit/s on each bus. ? 32-bit register and ram access. ? compatible with can specification 2.0b, iso 11898-1 . ? global acceptance filter recognizes standard (11-bit) and extended-frame (29-bit) receive identifiers for all can buses. ? acceptance filter can provide fullcan-s tyle automatic reception for selected standard identifiers. ? fullcan messages can gen erate interrupts. 7.14 12-bit adc the lpc17xx contain a single 12-bit successive approximation adc with eight channels and dma support. 7.14.1 features ? 12-bit successive approximation adc. ? input multiplexing among 8 pins. ? power-down mode. ? measurement range vrefn to vrefp. ? 12-bit conversion rate: 200 khz. ? individual channels can be selected for conversion. ? burst conversion mode for single or multiple inputs. ? optional conversion on transition of input pin or timer match signal. ? individual result registers for each adc channel to reduce interrupt overhead. ? dma support. 7.15 10-bit dac the dac allows to generate a variable analog output. the maximum output value of the dac is vrefp. remark: the dac is available on part s lpc1769/68/67/66/65/63. see table 2 . 7.15.1 features ? 10-bit dac ? resistor string architecture ? buffered output ? power-down mode ? selectable output drive ? dedicated conversion timer ? dma support
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 27 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 7.16 uarts the lpc17xx each contain four uarts. in addition to standard transmit and receive data lines, uart1 also provides a full modem control handshake interface and support for rs-485/9-bit mode allowing both software address detection and automatic address detection using 9-bit mode. the uarts include a fractional baud rate generator. standard baud rates such as 115200 bd can be achieved with any crystal frequency above 2 mhz. 7.16.1 features ? maximum uart data bit rate of 6.25 mbit/s. ? 16 b receive and transmit fifos. ? register locations conform to 16c550 industry standard. ? receiver fifo trigger points at 1 b, 4 b, 8 b, and 14 b. ? built-in fractional baud rate generator cove ring wide range of baud rates without a need for external crystals of particular values. ? auto baud capabilities and fifo control mechanism that enables software flow control implementation. ? uart1 equipped with standard modem interface signals. this module also provides full support for hardware flow control (auto-cts/rts). ? support for rs-485/9-bit /eia-485 mode (uart1). ? uart3 includes an irda mode to support infrared communication. ? all uarts have dma support. 7.17 spi serial i/o controller the lpc17xx contain one spi controller. spi is a full duplex serial interface designed to handle multiple masters and slaves connected to a given bus. only a single master and a single slave can communicate on the interface during a given data transfer. during a data transfer the master always sends 8 bits to 16 bits of data to the slave, and the slave always sends 8 bits to 16 bits of data to the master. 7.17.1 features ? maximum spi data bit rate of 12.5 mbit/s ? compliant with spi specification ? synchronous, serial, full duplex communication ? combined spi master and slave ? maximum data bit rate of one eighth of the input clock rate ? 8 bits to 16 bits per transfer 7.18 ssp serial i/o controller the lpc17xx contain two ssp controllers. the ssp controller is capable of operation on a spi, 4-wire ssi, or microwire bus. it can interact with multiple masters and slaves on the bus. only a single master and a single slav e can communicate on the bus during a given
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 28 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller data transfer. the ssp supports full duplex transfers, with frames of 4 bits to 16 bits of data flowing from the master to the slave an d from the slave to the master. in practice, often only one of these data flows carries meaningful data. 7.18.1 features ? maximum ssp speed of 50 mbit/s (master) or 8 mbit/s (slave) ? compatible with motorola spi, 4-wire texas instruments ssi, and national semiconductor microwire buses ? synchronous serial communication ? master or slave operation ? 8-frame fifos for both transmit and receive ? 4-bit to 16-bit frame ? dma transfers supported by gpdma 7.19 i 2 c-bus serial i/o controllers the lpc17xx each contain three i 2 c-bus controllers. the i 2 c-bus is bidirectional for inter-ic contro l using only two wires: a serial clock line (scl) and a serial data line (sda). each device is recognized by a unique address and can operate as either a receiver-only device (e.g., an lcd driver) or a transmitter with the capability to both receive and send information (such as me mory). transmitters and/or receivers can operate in either master or sl ave mode, depending on whether the chip has to initiate a data transfer or is only addressed. the i 2 c is a multi-master bus and can be controlled by more than one bus master connected to it. 7.19.1 features ? i 2 c0 is a standard i 2 c compliant bus interface with open-drain pins. i 2 c0 also supports fast mode plus with bit rates up to 1 mbit/s. ? i 2 c1 and i 2 c2 use standard i/o pins with bit rates of up to 400 kbit/s (fast i 2 c-bus). ? easy to configure as master, slave, or master/slave. ? programmable clocks allow versatile rate control. ? bidirectional data transfer between masters and slaves. ? multi-master bus (no central master). ? arbitration between simultaneously transmit ting masters without corruption of serial data on the bus. ? serial clock synchronization allows devices with different bit rates to communicate via one serial bus. ? serial clock synchronization can be used as a handshake mechanism to suspend and resume serial transfer. ? the i 2 c-bus can be used for test and diagnostic purposes. ? all i 2 c-bus controllers support multiple address recognition and a bus monitor mode.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 29 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 7.20 i 2 s-bus serial i/o controllers remark: the i2s-bus interface is available on parts lpc1769/68/67/66/65/63. see ta b l e 2 . the i 2 s-bus provides a standard communication interface for digital audio applications. the i 2 s-bus specification defines a 3-wire serial bus using one data line, one clock line, and one word select signal. the basic i 2 s-bus connection has one master, which is always the master, and one slave. the i 2 s-bus interface provides a separate transmit and receive channel, each of which can o perate as either a master or a slave. 7.20.1 features ? the interface has separate input/output chan nels each of which can operate in master or slave mode. ? capable of handling 8-bit, 16-bit, and 32-bit word sizes. ? mono and stereo audio data supported. ? the sampling frequency can range from 16 khz to 96 khz (16, 22.05, 32, 44.1, 48, 96) khz. ? support for an audio master clock. ? configurable word select period in master mode (separately for i 2 s-bus input and output). ? two 8-word fifo data buffers are provided, one for transmit and one for receive. ? generates interrupt requests when buffer levels cross a programmable boundary. ? two dma requests, controlled by programma ble buffer levels. these are connected to the gpdma block. ? controls include reset, stop and mute options separately for i 2 s-bus input and i 2 s-bus output. 7.21 general purpose 32-bit time rs/external event counters the lpc17xx include four 32-bit timer/counte rs. the timer/counter is designed to count cycles of the system derived clock or an externally-supplied clock. it can optionally generate interrupts, generate timed dma reques ts, or perform other actions at specified timer values, based on four match registers. each timer/counter also includes two capture inputs to trap the timer value when an input si gnal transitions, optionally generating an interrupt. 7.21.1 features ? a 32-bit timer/counter with a programmable 32-bit prescaler. ? counter or timer operation. ? two 32-bit capture channels per timer, that can take a snapshot of the timer value when an input signal transitions. a capture event may also generate an interrupt. ? four 32-bit match registers that allow: ? continuous operation with optional interrupt generation on match. ? stop timer on match with optional interrupt generation. ? reset timer on match with optional interrupt generation.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 30 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller ? up to four external outputs corresponding to match registers, with the following capabilities: ? set low on match. ? set high on match. ? toggle on match. ? do nothing on match. ? up to two match registers can be used to generate timed dma requests. 7.22 pulse width modulator the pwm is based on the standard timer block and inherits all of its features, although only the pwm function is pinned out on the lpc17xx. the timer is designed to count cycles of the system derived clock and optiona lly switch pins, gene rate interrupts or perform other actions when specified timer va lues occur, based on seven match registers. the pwm function is in addition to these feat ures, and is based on match register events. the ability to separately contro l rising and falling edge locations allo ws the pwm to be used for more applications. for instance, mu lti-phase motor control typically requires three non-overlapping pwm outputs with individual control of all three pulse widths and positions. two match registers can be used to provide a single edge controlled pwm output. one match register (pwmmr0) controls the pwm cycle rate, by resetting the count upon match. the other match register controls th e pwm edge position. additional single edge controlled pwm outputs require only one match re gister each, since the repetition rate is the same for all pwm outputs. multiple single edge contro lled pwm outputs will all have a rising edge at the beginning of each pwm cycle, when an pwmmr0 match occurs. three match registers can be used to provid e a pwm output with both edges controlled. again, the pwmmr0 match register contro ls the pwm cycle rate. the other match registers control the two pwm edge positi ons. additional double edge controlled pwm outputs require only two match registers each, si nce the repetition rate is the same for all pwm outputs. with double edge controlled pwm outputs, spec ific match registers control the rising and falling edge of the output. this allows both positive going pwm pulses (when the rising edge occurs prior to the falling edge), and negative goi ng pwm pulses (when the falling edge occurs prior to the rising edge). 7.22.1 features ? one pwm block with counter or timer operation (may use the peripheral clock or one of the capture inputs as the clock source). ? seven match registers allow up to 6 single edge controlled or 3 double edge controlled pwm outputs, or a mix of bot h types. the match registers also allow: ? continuous operation with optional interrupt generation on match. ? stop timer on match with optional interrupt generation. ? reset timer on match with optional interrupt generation.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 31 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller ? supports single edge controlled and/or double edge controlled pwm outputs. single edge controlled pwm outputs all go high at the beginning of each cycle unless the output is a constant low. double edge controlled pwm outputs can have either edge occur at any position within a cycle. this a llows for both positive going and negative going pulses. ? pulse period and width can be any number of timer counts. this allows complete flexibility in the trad e-off between resolution and re petition rate. all pwm outputs will occur at the same repetition rate. ? double edge controlled pwm outputs can be programmed to be either positive going or negative going pulses. ? match register updates are synchronized wit h pulse outputs to prevent generation of erroneous pulses. software must ?release? new match values before they can become effective. ? may be used as a standard 32-bit timer/counter with a programmable 32-bit prescaler if the pwm mode is not enabled. 7.23 motor control pwm the motor control pwm is a specialized pwm supporting 3-phase motors and other combinations. feedback inputs are provided to automatically sense rotor position and use that information to ramp speed up or down. an abort input is also provided that causes the pwm to immediately release all motor drive ou tputs. at the same time, the motor control pwm is highly configurable for other genera lized timing, counting, capture, and compare applications. 7.24 quadrature encoder interface (qei) a quadrature encoder, also known as a 2-chan nel incremental encoder, converts angular displacement into two pulse signals. by mo nitoring both the number of pulses and the relative phase of the two signals, the user ca n track the position, direction of rotation, and velocity. in addition, a third channel, or index signal, can be used to reset the position counter. the quadrature encoder interface decodes the digital pulses from a quadrature encoder wheel to integrate position over ti me and determine direction of rotation. in addition, the qei can capture the velocity of the encoder wheel. 7.24.1 features ? tracks encoder position. ? increments/decrements depending on direction. ? programmable for 2 ? or 4 ? position counting. ? velocity capture using built-in timer. ? velocity compare function with ?less than? interrupt. ? uses 32-bit registers for position and velocity. ? three position compare registers with interrupts. ? index counter for re volution counting. ? index compare register with interrupts. ? can combine index and position interrupts to produce an interrupt for whole and partial revolution displacement.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 32 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller ? digital filter with prog rammable delays for encoder input signals. ? can accept decoded signal inputs (clk and direction). ? connected to apb. 7.25 repetitive inte rrupt (ri) timer the repetitive interrupt timer provides a free-r unning 32-bit counter which is compared to a selectable value, generating an interrupt when a match occurs. any bits of the timer/compare can be masked such that they do not contribute to the match detection. the repetitive interrupt timer can be used to create an interrupt that repeats at predetermined intervals. 7.25.1 features ? 32-bit counter running from pclk. counter can be free-running or be reset by a generated interrupt. ? 32-bit compare value. ? 32-bit compare mask. an interrupt is generated when the counter value equals the compare value, after masking. this allows for co mbinations not poss ible with a simple compare. 7.26 arm cortex-m3 system tick timer the arm cortex-m3 includes a system tick timer (systic k) that is inte nded to generate a dedicated systick exception at a 10 ms interval. in the lpc17xx, this timer can be clocked from the internal ahb clock or from a device pin. 7.27 watchdog timer the purpose of the watchdog is to reset the mi crocontroller within a reasonable amount of time if it enters an erroneous state. when enabl ed, the watchdog w ill generate a system reset if the user program fails to ?feed? (o r reload) the watchdog within a predetermined amount of time. 7.27.1 features ? internally resets chip if not period ically reloaded. ? debug mode. ? enabled by software but requires a hardware reset or a watchdog reset/interrupt to be disabled. ? incorrect/incomplete feed sequence causes reset/interrupt if enabled. ? flag to indicate watchdog reset. ? programmable 32-bit timer with internal prescaler. ? selectable time period from (t cy(wdclk) ? 256 ? 4) to (t cy(wdclk) ? 2 32 ? 4) in multiples of t cy(wdclk) ? 4. ? the watchdog clock (wdclk) source can be selected from the internal rc (irc) oscillator, the rtc oscillator, or the apb peripheral clock. this gives a wide range of potential timing choices of watchdog o peration under different power reduction
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 33 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller conditions. it also provides the ability to run the wdt from an entirely internal source that is not dependent on an external crystal and its associated components and wiring for increased reliability. ? includes lock/safe feature. 7.28 rtc and backup registers the rtc is a set of counters for measuring ti me when system power is on, and optionally when it is off. the rtc on the lpc17xx is designed to have extremely low power consumption, i.e. less than 1 ? a. the rtc will typically run from the main chip power supply, conserving battery po wer while the rest of the de vice is powered up. when operating from a batter y, the rtc will continue working do wn to 2.1 v. battery power can be provided from a standard 3 v lithium button cell. an ultra-low power 32 khz oscillator will provid e a 1 hz clock to the time counting portion of the rtc, moving most of the power cons umption out of the time counting function. the rtc includes a calibration mechanism to allow fine-tuning the count rate in a way that will provide less th an 1 second per day error when o perated at a constant voltage and temperature. a clock output function (see section 7.29.4 ) makes measuring the oscillator rate easy and accurate. the rtc contains a small set of backup regi sters (20 bytes) for holding data while the main part of the lpc17xx is powered off. the rtc includes an alarm function that can wake up the lpc17xx from all reduced power modes with a time resolution of 1 s. 7.28.1 features ? measures the passage of time to maintain a calendar and clock. ? ultra low power design to support battery powered systems. ? provides seconds, minutes, hours, day of month, month, year, day of week, and day of year. ? dedicated power supply pin can be connected to a battery or to the main 3.3 v. ? periodic interrupts can be generated from increments of any field of the time registers. ? backup registers (20 bytes) powered by vbat. ? rtc power supply is isolated from the rest of the chip. 7.29 clocking and power control 7.29.1 crystal oscillators the lpc17xx include three ind ependent oscillators. these are the main oscillator, the irc oscillator, and the rtc oscillator. each osc illator can be used for more than on e purpose as required in a particular application. any of the three clock sources can be chosen by software to drive the main pll and ultimately the cpu. following reset, the lpc17xx will operate from the internal rc oscillator until switched by software. this allows systems to operate without any external crystal and the bootloader code to operate at a known frequency.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 34 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller see figure 5 for an overview of the lpc17xx clock generation. 7.29.1.1 internal rc oscillator the irc may be used as the clock source for th e wdt, and/or as the clock that drives the pll and subsequently the cpu. the nominal irc frequency is 4 mhz. the irc is trimmed to 1 % accuracy over the entire voltage and temperature range. upon power-up or any chip reset, the lpc17xx use the irc as the clock source. software may later switch to one of the other available clock sources. 7.29.1.2 main oscillator the main oscillator can be used as the clock so urce for the cpu, with or without using the pll. the main oscillator also provides the clock source for the dedicated usb pll. the main oscillator operates at fr equencies of 1 mhz to 25 mhz. this frequency can be boosted to a higher frequency, up to the maximum cpu operating frequency, by the main pll. the clock selected as the pll inpu t is pllclkin. the arm processor clock frequency is referred to as cclk elsewhere in this document. the frequencies of pllclkin and cclk are the same value unless the pll is active and connected. the clock frequency for each peripheral can be selected individually and is referred to as pclk. refer to section 7.29.2 for additional information. 7.29.1.3 rtc oscillator the rtc oscillator can be used as the clock source for the rtc bl ock, the ma in pll, and/or the cpu. fig 5. lpc17xx clocking generation block diagram main oscillator internal rc oscillator rtc oscillator main pll watchdog timer real-time clock cpu clock divider peripheral clock generator usb block arm cortex-m3 ethernet block dma gpio nvic usb clock divider system clock select (clksrcsel) usb clock config (usbclkcfg) cpu clock config (cclkcfg) pllclk cclk/8 cclk/6 cclk/4 cclk/2 cclk pclk wdt rtclk = 1hz usbclk (48 mhz) cclk usb pll usb pll enable main pll enable 32 khz apb peripherals lpc17xx 002aad947
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 35 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 7.29.2 main pll (pll0) the pll0 accepts an input clock frequency in the range of 32 khz to 25 mhz. the input frequency is multiplied up to a high frequency, then divided down to provide the actual clock used by the cpu and/or the usb block. the pll0 input, in the range of 32 khz to 25 mhz, may initially be divided down by a value ?n?, which may be in the r ange of 1 to 256. this input division provides a wide range of output frequencies from the same input frequency. following the pll0 input divider is the pll0 mult iplier. this can multiply the input divider output through th e use of a current controlled oscilla tor (cco) by a value ?m?, in the range of 1 through 32768. the resulting frequency must be in the range of 275 mhz to 550 mhz. the multiplier works by dividing the cco output by the value of m, then using a phase-frequency detector to compare the divided cco output to the multiplier input. the error value is used to adjust the cco frequency. the pll0 is turned off and bypassed following a chip reset and by entering power-down mode. pll0 is enabled by software only. the program must configure and activate the pll0, wait for the pll0 to lock, and then connect to the pll0 as a clock source. 7.29.3 usb pll (pll1) the lpc17xx contain a second, dedicated u sb pll1 to provide clocking for the usb interface. the pll1 receives its clock input from the main oscillator only and provides a fixed 48 mhz clock to the usb block only. the pll1 is disabled and powered off on reset. if the pll1 is left disabled, the usb clock will be supplied by the 48 mhz clock from the main pll0. the pll1 accepts an input clock frequency in the range of 10 mhz to 25 mhz only. the input frequency is multiplied up the range of 48 mhz for the usb clock using a current controlled oscillators (cco). it is insured that the pll1 output has a 50 % duty cycle. 7.29.4 rtc clock output the lpc17xx feature a clock ou tput function intended for synchronizing with external devices and for use during system development to allow checking the internal clocks cclk, irc clock, main crystal, rtc clock, and usb clock in the outside world. the rtc clock output allows tuning the rtc frequency without probing the pin, which would distort the results. 7.29.5 wake-up timer the lpc17xx begin operation at power-up and when awakened from power-down mode by using the 4 mhz irc oscillator as the clo ck source. this allows chip operation to resume quickly. if the main oscillator or the pll is needed by the application, software will need to enable these features and wait for them to st abilize before they are used as a clock source. when the main oscillator is init ially activated, the wake-up timer allows software to ensure that the main oscillator is fully functional before the processor uses it as a clock source and starts to execute instructions. this is im portant at power on, all types of reset, and
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 36 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller whenever any of the aforemen tioned functions are turned off for any reason. since the oscillator and other functions are turned off during power-down mode, any wake-up of the processor from power-down mode makes use of the wake-up timer. the wake-up timer monitors the crystal oscillator to check whether it is safe to begin code execution. when power is applied to th e chip, or when some event caused the chip to exit power-down mode , some time is requir ed for the oscillator to produce a signal of sufficient amplitude to drive the clock logic. the amount of time depends on many factors, including the rate of v dd(3v3) ramp (in the case of power on), the type of crystal and its electrical characteristics (if a quartz crystal is used), as well as any other external circuitry (e.g., capacitors), and the characteristics of the oscillator itself under the existing ambient conditions. 7.29.6 power control the lpc17xx support a variety of power control features. there are four special modes of processor power reduction: sleep mode, deep-sleep mode, power-down mode, and deep power-down mode. the cpu clock rate may also be controlled as needed by changing clock sources, reconfiguring pll values, and/or altering the cpu clock divider value. this allows a trade-off of power ve rsus processing speed based on application requirements. in addition, peripheral power control allows shutting down the clocks to individual on-chip peripherals, allowing fine tuning of power consumption by eliminating all dynamic power use in any peripherals that are not required for the application. each of the peripherals has its own clock divider wh ich provides even better power control. integrated pmu (power management unit) au tomatically adjust inte rnal regulators to minimize power consumption during slee p, deep sleep, power-down, and deep power-down modes. the lpc17xx also implement a separate power domain to allow turning off power to the bulk of the device while maintaining operation of the rtc and a small set of registers for storing data during any of the power-down modes. 7.29.6.1 sleep mode when sleep mode is entered, the clock to the core is stopped. resumption from the sleep mode does not need any special sequence but re-enabling the clock to the arm core. in sleep mode, execution of instructions is suspended until either a reset or interrupt occurs. peripheral functions continue opera tion during sleep mode and may generate interrupts to cause the processor to resume execution. sleep mode eliminates dynamic power used by the processor itself, memory systems and related controllers, and internal buses. 7.29.6.2 deep-sleep mode in deep-sleep mode, the oscilla tor is shut down and the chip receives no internal clocks. the processor state and registers, peripheral registers, and internal sram values are preserved throughout deep-sleep mode and the logic levels of chip pins remain static. the output of the irc is disabled but the irc is not powered down for a fast wake-up later. the rtc oscillator is not stopped because the rtc interrupts may be used as the wake-up source. the pll is automatically turned off and disconnected. the cclk and usb clock dividers automati cally get reset to zero.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 37 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller the deep-sleep mode can be terminated a nd normal operation resumed by either a reset or certain specific inte rrupts that are able to function without clocks. since all dynamic operation of the chip is suspended, deep-sleep mode reduces chip power consumption to a very low value. power to th e flash memory is left on in deep-sleep mode, allowing a very quick wake-up. on wake-up from deep-sleep mode, the code execution an d peripherals activities will resume after 4 cycles expire if the irc was used before entering deep-sleep mode. if the main external oscillator wa s used, the code execution w ill resume when 4096 cycles expire. pll and clock dividers need to be reconfigured accordingly. 7.29.6.3 power-down mode power-down mode does everythi ng that deep-sleep mode does, but also turns off the power to the irc oscillator an d the flash memory. this save s more power but requires waiting for resumption of flash operation befo re execution of code or data access in the flash memory can be accomplished. on the wake-up of power-down mode, if the irc was used before entering power-down mode, it will take irc 60 ? s to start-up. after this 4 irc cycles will expire before the code execution can then be resumed if the code was running from sram. in the meantime, the flash wake-up timer then counts 4 mhz irc clock cycles to make the 100 ? s flash start-up time. when it times out, access to the flash will be allowed. users need to reconfigure the pll and clock dividers accordingly. 7.29.6.4 deep power-down mode the deep power-down mode can only be entered from the rtc block. in deep power-down mode, power is shut off to the entire chip with the exception of the rtc module and the reset pin. the lpc17xx can wake up from deep power-down mode via the reset pin or an alarm match event of the rtc. 7.29.6.5 wake-up interrupt controller the wake-up interrupt controller (wic) allows the cpu to automati cally wake up from any enabled priority interrupt that can occur while the clocks are stopped in deep sleep, power-down, and deep power-down modes. the wic works in connection with the nested vectored interrupt controller (nvic). when the cpu enters deep sleep, power-down, or deep power-down mode, the nvic sends a mask of the current interrupt situation to t he wic.this mask includes all of the interrupts that are both enabled and of sufficient priority to be serviced immediately. with this information, the wic simply notices when one of the interrupts has occurred and then it wakes up the cpu. the wic eliminates the need to periodically wake up the cpu and poll the interrupts resulting in additional power savings. 7.29.7 peripheral power control a power control for peripherals feature allows individual peripherals to be turned off if they are not needed in the application, resulting in additional power savings.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 38 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 7.29.8 power domains the lpc17xx provide two independent power domains that allow the bulk of the device to have power removed while maintaining operation of the rtc and the backup registers. on the lpc17xx, i/o pads are powered by the 3.3 v (v dd(3v3) ) pins, while the v dd(reg)(3v3) pin powers the on-chip voltage regulator which in turn provides power to the cpu and most of the peripherals. depending on the lpc17xx application, a design can use two power options to manage power consumption. the first option assumes that power consumptio n is not a concern and the design ties the v dd(3v3) and v dd(reg)(3v3) pins together. this approach requires only one 3.3 v power supply for both pads, the cpu, and peripherals. while this solution is simple, it does not support powering down the i/o pad ring ?on the fly? while keeping the cpu and peripherals alive. the second option uses two power supplie s; a 3.3 v supply for the i/o pads (v dd(3v3) ) and a dedicated 3.3 v supply for the cpu (v dd(reg)(3v3) ). having the on-chip voltage regulator powered independently from the i/o pad ring enables shutting down of the i/o pad power supply ?on the fly?, while the cpu and peripherals stay active. the vbat pin supplies power only to the rtc domain. the rtc requires a minimum of power to operate, which can be supplied by an external battery. the device core power (v dd(reg)(3v3) ) is used to operate the rtc whenever v dd(reg)(3v3) is present. therefore, there is no power drain from the rtc battery when v dd(reg)(3v3) is available.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 39 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 7.30 system control 7.30.1 reset reset has four sources on the lpc17xx: the reset pin, the watchdog reset, power-on reset (por), and the brownout detection (bod) circuit. the reset pin is a schmitt trigger input pin. assertion of chip reset by any source, once the operating voltage attains a usable level, causes the rstout pin to go low and starts the wake-up timer (see description in section 7.29.5 ). the wake-up timer ensures that reset remains asserted until the external reset is de-a sserted, the oscillator is runnin g, a fixed number of clocks have passed, and the flash controller has co mpleted its initialization. once reset is de-asserted, or, in case of a bod-triggered reset, once the voltage rises above the bod threshold, the rstout pin goes high. when the internal reset is removed, the proc essor begins executing at address 0, which is initially the reset vector ma pped from the boot block. at that point, all of the processor and peripheral registers have been in itialized to predetermined values. fig 6. power distribution real-time clock backup registers regulator 32 khz oscillator rtc power domain main power domain 002aad978 rtcx1 vbat v dd(reg)(3v3) rtcx2 v dd(3v3) v ss to memories, peripherals, oscillators, plls to core to i/o pads adc dac adc power domain v dda vrefp vrefn v ssa lpc17xx ultra low-power regulator power selector
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 40 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 7.30.2 brownout detection the lpc17xx include 2-stage monitoring of the voltage on the v dd(reg)(3v3) pins. if this voltage falls below 2.2 v, the bod asserts an interrupt signal to the vectored interrupt controller. this signal can be enabled for inte rrupt in the interrupt enable register in the nvic in order to cause a cpu in terrupt; if not, software can monitor the signal by reading a dedicated status register. the second stage of low-voltage detection asserts reset to inactivate the lpc17xx when the voltage on the v dd(reg)(3v3) pins falls below 1.85 v. this reset prevents alteration of the flash as operation of the various elem ents of the chip would otherwise become unreliable due to low voltage. the bod circui t maintains this reset down below 1 v, at which point the power-on reset circuitry maintains the overall reset. both the 2.2 v and 1.85 v thresholds include some hysteresis. in normal operation, this hysteresis allows the 2.2 v detection to relia bly interrupt, or a regularly executed event loop to sense the condition. 7.30.3 code security (code read protection - crp) this feature of the lpc17xx allows user to enabl e different levels of security in the system so that access to the on-chip flash and us e of the jtag and isp can be restricted. when needed, crp is invoked by programming a specif ic pattern into a dedicated flash location. iap commands are not affected by the crp. there are three levels of the code read protection. crp1 disables access to chip via the jtag and allows partial flash update (excluding flash sector 0) using a limited set of the is p commands. this mode is useful when crp is required and flash field updates are needed but all sectors can not be erased. crp2 disables access to chip via the jtag and only allows full flash erase and update using a reduced set of the isp commands. running an application with level crp3 selected fully disa bles any access to chip via the jtag pins and the isp. this mode effectively disables isp override using p2[10] pin, too. it is up to the user?s application to provide (if needed) flash update mechanism using iap calls or call reinvoke isp command to enable flash update via uart0. 7.30.4 apb interface the apb peripherals are split into two separa te apb buses in order to distribute the bus bandwidth and thereby reducing stalls caus ed by contention between the cpu and the gpdma controller. caution if level three code read protection (crp3) is selected, no future factory testing can be performed on the device.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 41 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 7.30.5 ahb multilayer matrix the lpc17xx use an ahb multilayer matrix. this matrix connects the instruction (i-code) and data (d-code) cpu buses of the arm cortex-m3 to the flash memory, the main (32 kb) static ram, and the boot rom. the gpdma can also access all of these memories. the peripheral dma controllers, ethernet, and usb can access all sram blocks. additionally, the matrix connects the cpu system bus and all of the dma controllers to the various peripheral functions. 7.30.6 external interrupt inputs the lpc17xx include up to 46 edge sensitive interrupt inputs combined with up to four level sensitive external interrupt inputs as selectable pin functions. the external interrupt inputs can optionally be used to wake up the processor from power-down mode. 7.30.7 memory mapping control the cortex-m3 incorporates a me chanism that allows remapping the interrupt vector table to alternate locations in the memory map. th is is controlled via the vector table offset register contained in the nvic. the vector table may be located anywhere within the bottom 1 gb of cortex-m3 address space. the vector table must be located on a 128 word (512 byte) boundary because the nvic on the lpc17xx is configured for 128 total interrupts. 7.31 emulation and debugging debug and trace functions are integrated in to the arm cortex-m3. serial wire debug and trace functions are supported in addition to a standard jtag debug and parallel trace functions. the arm cortex-m3 is configured to support up to eight breakpoints and four watch points.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 42 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 8. limiting values [1] the following applies to the limiting values: a) this product includes circuitry specif ically designed for the protection of its in ternal devices from the damaging effects of excessive static charge. nonetheless, it is sugges ted that conventional precautions be tak en to avoid applying greater than the rated maximum. b) parameters are valid over operating te mperature range unless otherwise specifi ed. all voltages are with respect to v ss unless otherwise noted. [2] including voltage on outputs in 3-state mode. [3] not to exceed 4.6 v. [4] dependent on package type. [5] human body model: equivalent to dischar ging a 100 pf capacitor through a 1.5 k ? series resistor. table 5. limiting values in accordance with the absolute ma ximum rating system (iec 60134). [1] symbol parameter conditions min max unit v dd(3v3) supply voltage (3.3 v) external rail 2.4 3.6 v v dd(reg)(3v3) regulator supply voltage (3.3 v) 2.4 3.6 v v dda analog 3.3 v pad supply voltage ? 0.5 +4.6 v v i(vbat) input voltage on pin vbat for the rtc ? 0.5 +4.6 v v i(vrefp) input voltage on pin vrefp ? 0.5 +4.6 v v ia analog input voltage on adc related pins ? 0.5 +5.1 v v i input voltage 5 v tolerant i/o pins; only valid when the v dd(3v3) supply voltage is present [2] ? 0.5 +5.5 v other i/o pins [2] [3] ? 0.5 v dd(3v3) + 0.5 v i dd supply current per supply pin - 100 ma i ss ground current per ground pin - 100 ma i latch i/o latch-up current ? (0.5v dd(3v3) ) < v i < (1.5v dd(3v3) ); t j < 125 ? c - 100 ma t stg storage temperature [4] ? 65 +150 ?c p tot(pack) total power dissipation (per package) based on package heat transfer, not device power consumption -1.5w v esd electrostatic discharge voltage human body model; all pins [5] ? 4000 +4000 v
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 43 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 9. thermal characteristics the average chip junction temperature, t j ( ? c), can be calculated using the following equation: (1) ? t amb = ambient temperature ( ? c), ? r th(j-a) = the package junction-to-ambient thermal resistance ( ? c/w) ? p d = sum of internal and i/o power dissipation the internal power dissipation is the product of i dd and v dd . the i/o power dissipation of the i/o pins is often small and many times can be negligible. however it can be significant in some applications. t j t amb p d r th j a ? ?? ? ?? += table 6. thermal characteristics v dd = 2.4 v to 3.6 v; t amb = ? ? ? symbol parameter conditions min typ max unit t j(max) maximum junction temperature --125 ? c
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 44 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 10. static characteristics table 7. static characteristics t amb = ? 40 ? c to +85 ? c, unless otherwise specified. symbol parameter conditions min typ [1] max unit supply pins v dd(3v3) supply voltage (3.3 v) external rail [2] 2.4 3.3 3.6 v v dd(reg)(3v3) regulator supply voltage (3.3 v) 2.4 3.3 3.6 v v dda analog 3.3 v pad supply voltage 2.7 3.3 3.6 v v i(vbat) input voltage on pin vbat [3] 2.1 3.3 3.6 v v i(vrefp) input voltage on pin vrefp 2.7 3.3 v dda v i dd(reg)(3v3) regulator supply current (3.3 v) active mode; code while(1){} executed from flash; all peripherals disabled; pclk = cclk 8 cclk = 12 mhz; pll disabled [4] [5] -7-m a cclk = 100 mhz; pll enabled [4] [5] -4 2-m a cclk = 100 mhz; pll enabled (lpc1769) [4] [6] -5 0-m a cclk = 120 mhz; pll enabled (lpc1769) [4] [6] -6 7-m a sleep mode [4] [7] -2-m a deep sleep mode [4] [8] -2 4 0- ? a power-down mode [4] [8] -3 1- ? a deep power-down mode; rtc running [9] - 630 - na i bat battery supply current deep power-down mode; rtc running v dd(reg)(3v3) present [10] - 530 - na v dd(reg)(3v3) not present [11] - 1.1 - ? a i dd(io) i/o supply current deep sleep mode [12] -4 0-n a power-down mode [12] -4 0-n a deep power-down mode [12] -1 0-n a
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 45 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller i dd(adc) adc supply current active mode; adc powered [13] [14] -1 . 9 5-m a adc in power-down mode [13] [15] -< 0 . 2- ? a deep sleep mode [13] -3 8-n a power-down mode [13] -3 8-n a deep power-down mode [13] -2 4-n a i i(adc) adc input current on pin vrefp deep sleep mode [16] -1 0 0-n a power-down mode [16] -1 0 0-n a deep power-down mode [16] -1 0 0-n a standard port pins, reset , rtck i il low-level input current v i = 0 v; on-chip pull-up resistor disabled - 0.5 10 na i ih high-level input current v i =v dd(3v3) ; on-chip pull-down resistor disabled - 0.5 10 na i oz off-state output current v o =0v; v o =v dd(3v3) ; on-chip pull-up/down resistors disabled - 0.5 10 na v i input voltage pin configured to provide a digital function [17] [18] [19] 0- 5 . 0v v o output voltage output active 0 - v dd(3v3) v v ih high-level input voltage 0.7v dd(3v3) --v v il low-level input voltage - - 0.3v dd(3v3) v v hys hysteresis voltage 0.4 - - v v oh high-level output voltage i oh = ? 4 ma v dd(3v3) ? 0.4 --v v ol low-level output voltage i ol = 4 m a --0 . 4v i oh high-level output current v oh =v dd(3v3) ? 0.4 v ? 4--ma i ol low-level output current v ol = 0 . 4 v 4--m a i ohs high-level short-circuit output current v oh =0v [20] --? 45 ma i ols low-level short-circuit output current v ol =v dd(3v3) [20] --5 0m a i pd pull-down current v i =5v 10 50 150 ? a i pu pull-up current v i =0v ? 15 ? 50 ? 85 ? a v dd(3v3) lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 46 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller [1] typical ratings are not guaranteed. the va lues listed are at room temperature (25 ? c), nominal supply voltages. [2] for usb operation 3.0 v ? v dd((3v3) ? 3.6 v. guaranteed by design. [3] the rtc typically fails when v i(vbat) drops below 1.6 v. [4] v dd(reg)(3v3) = 3.3 v; t amb =25 ? c for all power consumption measurements. i 2 c-bus pins (p0[27] and p0[28]) v ih high-level input voltage 0.7v dd(3v3) --v v il low-level input voltage - - 0.3v dd(3v3) v v hys hysteresis voltage - 0.05 ? v dd(3v3) -v v ol low-level output voltage i ols = 3 m a --0 . 4v i li input leakage current v i =v dd(3v3) [21] -24 ? a v i =5v - 10 22 ? a oscillator pins v i(xtal1) input voltage on pin xtal1 ? 0.5 1.8 1.95 v v o(xtal2) output voltage on pin xtal2 ? 0.5 1.8 1.95 v v i(rtcx1) input voltage on pin rtcx1 ? 0.5 - 3.6 v v o(rtcx2) output voltage on pin rtcx2 ? 0.5 - 3.6 v usb pins (lpc1769/68/66/65/64 only) i oz off-state output current 0v lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 47 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller [5] applies to lpc1768/67/66/65/64/63. [6] applies to lpc1769 only. [7] irc running at 4 mhz; main o scillator and pll disabled; pclk = cclk 8 . [8] bod disabled. [9] on pin v dd(reg)(3v3) . i bat = 530 na. v dd(reg)(3v3) = 3.0 v; v bat = 3.0 v; t amb =25 ? c. [10] on pin vbat; i dd(reg)(3v3) = 630 na; v dd(reg)(3v3) = 3.0 v; v bat = 3.0 v; t amb =25 ? c. [11] on pin vbat; v bat = 3.0 v; t amb =25 ? c. [12] all internal pull-ups disabled. all pi ns configured as output and driven low. v dd(3v3) = 3.3 v; t amb =25 ? c. [13] on pin v dda ; v dda =3.3v; t amb =25 ? c. the adc is powered if the pdn bit in the ad0cr register is set to 1 and in power-down mode of the pdn bit is set to 0. [14] the adc is powered if the pdn bit in the ad0cr register is set to 1. see lpc17xx user manual um10360_1 . [15] the adc is in power-down mode if the pdn bit in the ad0cr register is set to 0. see lpc17xx user manual um10360_1 . [16] v i(vrefp) = 3.3 v; t amb =25 ? c. [17] including voltage on outputs in 3-state mode. [18] v dd(3v3) supply voltages must be present. [19] 3-state outputs go into 3-state mode in deep power-down mode. [20] allowed as long as the current limit does not exceed the maximum current allowed by the device. [21] to v ss . [22] includes external resistors of 33 ?? 1 % on d+ and d ? . 10.1 power consumption conditions: bod disabled. fig 7. deep-sleep mode: typical regulator supply current i dd(reg)(3v3) versus temperature 002aaf568 temperature ( c) ?40 85 35 10 60 ?15 250 350 300 400 i dd(reg)(3v3) (a) 200 3.6 v 3.3 v 2.4 v
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 48 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller conditions: bod disabled. fig 8. power-down mode: typica l regulator supply current i dd(reg)(3v3) versus temperature conditions: v dd(reg)(3v3) floating; rtc running. fig 9. deep power-down mode: typical battery supply current i bat versus temperature 002aaf569 40 80 120 0 temperature ( c) ?40 85 35 10 60 ?15 i dd(reg)(3v3) (a) 3.6 v 3.3 v 2.4 v 002aag119 1.0 1.4 1.8 0.6 temperature (c) -40 85 35 10 60 -15 i bat) (a) v i(vbat) = 3.6 v 3.3 v 3.0 v 2.4 v
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 49 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller conditions: v bat = 3.0 v; v dd(reg)(3v3) = 3.0 v; rtc running. fig 10. deep power-down mode: typical regulator supply current i dd(reg)(3v3) and battery supply current i bat versus temperature 002aag120 temperature (c) -40 85 35 10 60 -15 0.8 1.6 0.4 1.2 2.0 0 i dd(reg)(3v3) i bat i dd(reg)(3v3) /i bat (a)
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 50 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 10.2 peripheral power consumption the supply current per peripheral is measured as the difference in supply current between the peripheral block enabled and the peripheral block disabled in the pconp register. all other blocks are disabled and no code is ex ecuted. measured on a typical sample at t amb =25 ? c. the peripheral clock pclk = cclk/4. [1] the combined current of several peripherals running at the sa me time can be less than the sum of each individual peripheral current measured separately. table 8. power consumption for individual analog and digital blocks peripheral conditions typical supply current in ma; cclk = notes 12 mhz 48 mhz 100 mhz timer 0.03 0.11 0.23 average current per timer uart 0.07 0.26 0.53 average current per uart pwm 0.05 0.20 0.41 motor control pwm 0.05 0.21 0.42 i2c 0.02 0.08 0.16 average current per i2c spi 0.02 0.06 0.13 ssp1 0.04 0.16 0.32 adc pclk = 12 mhz for cclk = 12 mhz and 48 mhz; pclk = 12.5 mhz for cclk = 100 mhz 2.12 2.09 2.07 can pclk = cclk/6 0.13 0.49 1.00 average current per can can0, can1, acceptance filter pclk = cclk/6 0.22 0.85 1.73 both can blocks and acceptance filter [1] dma pclk = cclk 1.33 5.10 10.36 qei 0.05 0.20 0.41 gpio 0.33 1.27 2.58 i2s 0.09 0.34 0.70 usb and pll1 0.94 1.32 1.94 ethernet ethernet block enabled in the pconp register; ethernet not connected. 0.49 1.87 3.79 ethernet connected ethernet initialized, connected to network, and running web server example. - - 5.19
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 51 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 10.3 electrical pi n characteristics conditions: v dd(reg)(3v3) =v dd(3v3) = 3.3 v; standard port pins. fig 11. typical high-level output voltage v oh versus high-level output source current i oh conditions: v dd(reg)(3v3) =v dd(3v3) = 3.3 v; standard port pins. fig 12. typical low-l evel output current i ol versus low-level output voltage v ol i oh (ma) 0 24 16 8 002aaf112 2.8 2.4 3.2 3.6 v oh (v) 2.0 t = 85 c 25 c ?40 c v ol (v) 0 0.6 0.4 0.2 002aaf111 5 10 15 i ol (ma) 0 t = 85 c 25 c ?40 c
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 52 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller conditions: v dd(reg)(3v3) =v dd(3v3) = 3.3 v; standard port pins. fig 13. typical pull-up current i pu versus input voltage v i conditions: v dd(reg)(3v3) =v dd(3v3) = 3.3 v; standard port pins. fig 14. typical pull-down current i pd versus input voltage v i 0 5 4 23 1 002aaf108 ?30 ?50 ?10 10 i pu (a) ?70 t = 85 c 25 c ?40 c v i (v) 002aaf109 v i (v) 0 5 3 24 1 10 70 50 30 90 i pd (a) ?10 t = 85 c 25 c ?40 c
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 53 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 11. dynamic characteristics 11.1 flash memory [1] number of program/erase cycles. [2] programming times are given for writing 256 bytes from ram to t he flash. data must be written to the flash in blocks of 256 bytes. 11.2 external clock [1] parameters are valid over operating tem perature range unless otherwise specified. [2] typical ratings are not guaranteed. the va lues listed are at room temperature (25 ? c), nominal supply voltages. table 9. flash characteristics t amb = ? 40 ? c to +85 ? c, unless otherwise specified. symbol parameter conditions min typ max unit n endu endurance [1] 10000 100000 - cycles t ret retention time powered 10 - - years unpowered 20 - - years t er erase time sector or multiple consecutive sectors 95 100 105 ms t prog programming time [2] 0.95 1 1.05 ms table 10. dynamic charact eristic: external clock t amb = ? 40 ? c to +85 ? c; v dd(3v3) over specified ranges. [1] symbol parameter conditions min typ [2] max unit f osc oscillator frequency 1 - 25 mhz t cy(clk) clock cycle time 40 - 1000 ns t chcx clock high time t cy(clk) ? 0.4 - - ns t clcx clock low time t cy(clk) ? 0.4 - - ns t clch clock rise time - - 5 ns t chcl clock fall time - - 5 ns fig 15. external clock timing (wit h an amplitude of at least v i(rms) = 200 mv) t chcl t clcx t chcx t cy(clk) t clch 002aaa907
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 54 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 11.3 internal oscillators [1] parameters are valid over operating tem perature range unless otherwise specified. [2] typical ratings are not guaranteed. the va lues listed are at room temperature (25 ? c), nominal supply voltages. 11.4 i/o pins [1] applies to standard i/o pins. table 11. dynamic characteristic: internal oscillators t amb = ? 40 ? c to +85 ? c; 2.7 v ? v dd(reg)(3v3) ? 3.6 v. [1] symbol parameter conditions min typ [2] max unit f osc(rc) internal rc oscillator frequency - 3.96 4.02 4.04 mhz f i(rtc) rtc input frequency - - 32.768 - khz conditions: frequency values are typical values. 4 mhz ? 1 % accuracy is guaranteed for 2.7 v ? v dd(reg)(3v3) ? 3.6 v and t amb = ? 40 ? cto+85 ? c. variations between parts may cause the irc to fall outside the 4 mhz ?? 1 % accuracy specification for voltages below 2.7 v. fig 16. internal rc oscillator frequency versus temperature 002aaf107 temperature (c) -40 85 35 10 60 -15 4.024 4.032 4.020 4.028 4.036 f osc(rc) (mhz) 4.016 v dd(reg)(3v3) = 3.6 v 3.3 v 3.0 v 2.7 v 2.4 v table 12. dynamic characteristic: i/o pins [1] t amb = ? 40 ? c to +85 ? c; v dd(3v3) over specified ranges. symbol parameter conditions min typ max unit t r rise time pin configured as output 3.0 - 5.0 ns t f fall time pin configured as output 2.5 - 5.0 ns
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 55 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 11.5 i 2 c-bus [1] see the i 2 c-bus specification um10204 for details. [2] parameters are valid over operating temp erature range unless otherwise specified. [3] t hd;dat is the data hold time that is measured from the falling edge of scl; applies to data in transmission and the acknowledge. [4] a device must internally provide a hold time of at least 300 ns for the sda signal (with respect to the v ih (min) of the scl signal) to bridge the undefined region of the falling edge of scl. [5] c b = total capacitance of one bus line in pf. [6] the maximum t f for the sda and scl bus lines is specified at 300 ns. the maximum fall time for the sda output stage t f is specified at 250 ns. this allows series protection resistors to be connected in between the sda and the scl pins and the sda/scl bus lines without exceeding the maximum specified t f . [7] in fast-mode plus, fall time is specified the same for both output stage and bus timing. if series resistors are used, designers should allow for this when considering bus timing. [8] the maximum t hd;dat could be 3.45 ? s and 0.9 ? s for standard-mode and fast-mode but must be less than the maximum of t vd;dat or t vd;ack by a transition time (see the i 2 c-bus specification um10204 ). this maximum must only be met if the device does not stretch the low period (t low ) of the scl signal. if the clock stretches the scl, the data must be valid by the set-up time before it releases the clock. [9] t su;dat is the data set-up time that is measured with respect to the rising edge of scl; applies to data in transmission and the acknowledge. [10] a fast-mode i 2 c-bus device can be used in a standard-mode i 2 c-bus system but the requirement t su;dat = 250 ns must then be met. this will automatically be the case if the device does not stretch the low period of the scl signal. if such a device does stretch the lo w period of the scl signal, it must output the next data bit to the sda line t r(max) + t su;dat = 1000 + 250 = 1250 ns (according to the standard-mode i 2 c-bus specification) before the scl line is released. also the acknowledge timing must meet this set-up time. table 13. dynamic characteristic: i 2 c-bus pins [1] t amb = ? 40 ? c to +85 ? c. [2] symbol parameter conditions min max unit f scl scl clock frequency standard-mode 0 100 khz fast-mode 0 400 khz fast-mode plus 0 1 mhz t f fall time [4] [5] [6] [7] of both sda and scl signals standard-mode - 300 ns fast-mode 20 + 0.1 ? c b 300 ns fast-mode plus - 120 ns t low low period of the scl clock standard-mode 4.7 - ? s fast-mode 1.3 - ? s fast-mode plus 0.5 - ? s t high high period of the scl clock standard-mode 4.0 - ? s fast-mode 0.6 - ? s fast-mode plus 0.26 - ? s t hd;dat data hold time [3] [4] [8] standard-mode 0 - ? s fast-mode 0 - ? s fast-mode plus 0 - ? s t su;dat data set-up time [9] [10] standard-mode 250 - ns fast-mode 100 - ns fast-mode plus 50 - ns
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 56 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 11.6 i 2 s-bus interface remark: the i2s-bus interface is available on parts lpc1769/68/67/66/65/63. see ta b l e 2 . [1] cclk = 20 mhz; peripheral clock to the i 2 s-bus interface pclk = cclk 4 ; i 2 s clock cycle time t cy(clk) = 1600 ns, corresponds to the sck signal in the i 2 s-bus specification . fig 17. i 2 c-bus pins clock timing 002aaf425 t f 70 % 30 % sda t f 70 % 30 % s 70 % 30 % 70 % 30 % t hd;dat scl 1 / f scl 70 % 30 % 70 % 30 % t vd;dat t high t low t su;dat table 14. dynamic characteristics: i 2 s-bus interface pins t amb = ? 40 ? c to +85 ? c. symbol parameter conditions min typ max unit common to input and output t r rise time [1] --3 5n s t f fall time [1] --3 5n s t wh pulse width high on pins i2stx_clk and i2srx_clk [1] 0.495 ?? t cy(clk) -- - t wl pulse width low on pins i2stx_clk and i2srx_clk [1] - - 0.505 ?? t cy(clk) ns output t v(q) data output valid time on pin i2stx_sda [1] --3 0n s on pin i2stx_ws [1] --3 0n s input t su(d) data input set-up time on pin i2srx_sda [1] 3.5 - - ns t h(d) data input hold time on pin i2srx_sda [1] 4.0 - - ns
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 57 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller fig 18. i 2 s-bus timing (output) fig 19. i 2 s-bus timing (input) 002aad992 i2stx_clk i2stx_sda i2stx_ws t cy(clk) t f t r t wh t wl t v(q) t v(q) 002aae159 t cy(clk) t f t r t wh t su(d) t h(d) t su(d) t su(d) t wl i2srx_clk i2srx_sda i2srx_ws
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 58 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 11.7 ssp interface [1] the peripheral clock for ssp is pclk = cclk = 20 mhz. table 15. dynamic characteristi c: ssp interface t amb =25 ? c; v dd(3v3) over specified ranges. symbol parameter conditions min typ max unit ssp interface t su(spi_miso) spi_miso set-up time measured in spi master mode; see figure 20 [1] 30 - ns fig 20. miso line set-up time in ssp master mode t su(spi_miso) sck shifting edges mosi miso 002aad326 sampling edges
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 59 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 11.8 usb interface remark: the usb controller is available as a device/host/otg controller on parts lpc1769/68/66/65 and as device-only controller on part lpc1764. [1] characterized but not implemented as production test. guaranteed by design. table 16. dynamic characteris tics: usb pins (full-speed) c l = 50 pf; r pu = 1.5 k ? on d+ to v dd(3v3) ; 3.0 v ? v dd(3v3) ? 3.6 v. symbol parameter conditions min typ max unit t r rise time 10 % to 90 % 8.5 - 13.8 ns t f fall time 10 % to 90 % 7.7 - 13.7 ns t frfm differential rise and fall time matching t r /t f --1 0 9% v crs output signal crossover voltage 1.3 - 2.0 v t feopt source se0 interval of eop see figure 21 160 - 175 ns t fdeop source jitter for differential transition to se0 transition see figure 21 ? 2-+5ns t jr1 receiver jitter to next transition ? 18.5 - +18.5 ns t jr2 receiver jitter for paired transitions 10 % to 90 % ? 9-+9ns t eopr1 eop width at receiver must reject as eop; see figure 21 [1] 40 --ns t eopr2 eop width at receiver must accept as eop; see figure 21 [1] 82 --ns fig 21. differential da ta-to-eop transition skew and eop width 002aab561 t period differential data lines crossover point source eop width: t feopt receiver eop width: t eopr1 , t eopr2 crossover point extended differential data to se0/eop skew n t period + t fdeop
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 60 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 11.9 spi [1] t spicyc = (t cy(pclk) ? n) ? 0.5 %, n is the spi clock divider value (n ? 8); pclk is derived from the processor clock cclk. [2] timing parameters are measured with respect to the 50 % edge of the clock sck and the 10 % (90 %) edge of the data signal (mosi or miso). table 17. dynamic characteristics of spi pins t amb = ? 40 ? c to +85 ? c. symbol parameter min typ max unit t cy(pclk) pclk cycle time 10 - - ns t spicyc spi cycle time [1] 79.6 - - ns t spiclkh spiclk high time 0.485 ? t spicyc -- ns t spiclkl spiclk low time - 0.515 ? t spicyc ns spi master t spidsu spi data set-up time [2] 0- -n s t spidh spi data hold time [2] 2 ? ? t cy(pclk) ? 5 - - ns t spiqv spi data output valid time [2] 2 ? ? t cy(pclk) + 30 - - ns t spioh spi output data hold time [2] 2 ? ? t cy(pclk) + 5 - - ns spi slave t spidsu spi data set-up time [2] 0- -n s t spidh spi data hold time [2] 2 ? ? t cy(pclk) + 5 - - ns t spiqv spi data output valid time [2] 2 ? ? t cy(pclk) + 35 - - ns t spioh spi output data hold time [2] 2 ? ? t cy(pclk) + 15 - - ns fig 22. spi master timing (cpha = 1) sck (cpol = 0) mosi miso 002aad986 t spicyc t spiclkh t spiclkl t spidsu t spidh t spiqv data valid data valid t spioh sck (cpol = 1) data valid data valid
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 61 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller fig 23. spi master timing (cpha = 0) fig 24. spi slave timing (cpha = 1) sck (cpol = 0) mosi miso 002aad987 t spicyc t spiclkh t spiclkl t spidsu t spidh data valid data valid t spioh sck (cpol = 1) data valid data valid t spiqv sck (cpol = 0) mosi miso 002aad988 t spicyc t spiclkh t spiclkl t spidsu t spidh t spiqv data valid data valid t spioh sck (cpol = 1) data valid data valid
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 62 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 12. adc electrical characteristics [1] the adc is monotonic, there are no missing codes. [2] the differential linearity error (e d ) is the difference between the actual step width and the ideal step width. see figure 26 . [3] the integral non-linearity (e l(adj) ) is the peak difference between the center of the st eps of the actual and the ideal transfer curve after appropriate adjustment of gain and offset errors. see figure 26 . [4] the offset error (e o ) is the absolute difference between the straight line which fits the actual cu rve and the straight line which fits the ideal curve. see figure 26 . [5] adcoffs value (bits 7:4) = 2 in the adtrm register. see lpc17xx user manual um10360 . [6] the gain error (e g ) is the relative difference in percent between the straight line fitting the actual transfe r curve after removing offset error, and the straight line which fits the ideal transfer curve. see figure 26 . [7] the absolute error (e t ) is the maximum difference between the center of the steps of the actual transfer curve of the non-calibrated adc and the ideal transfer curve. see figure 26 . [8] see figure 27 . [9] the conversion frequency corresponds to the number of samples per second. fig 25. spi slave timing (cpha = 0) sck (cpol = 0) mosi miso 002aad989 t spicyc t spiclkh t spiclkl t spidsu t spidh t spiqv data valid data valid t spioh sck (cpol = 1) data valid data valid table 18. adc characteristics (full resolution) v dda = 2.7 v to 3.6 v; t amb = ? 40 ? c to +85 ? c unless otherwise specified; adc fr equency 13 mhz; 12-bit resolution. symbol parameter conditions min typ max unit v ia analog input voltage 0 - v dda v c ia analog input capacitance - - 15 pf e d differential linearity error [1] [2] --? 1lsb e l(adj) integral non-linearity [3] --? 3lsb e o offset error [4] [5] --? 2lsb e g gain error [6] --0 . 5% e t absolute error [7] --4l s b r vsi voltage source interface resistance [8] --7 . 5k ? f clk(adc) adc clock frequency - - 13 mhz f c(adc) adc conversion frequency [9] --2 0 0k h z
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 63 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller [1] the adc is monotonic, there are no missing codes. [2] the differential linearity error (e d ) is the difference between the actual step width and the ideal step width. see figure 26 . [3] the integral non-linearity (e l(adj) ) is the peak difference between the center of the st eps of the actual and the ideal transfer curve after appropriate adjustment of gain and offset errors. see figure 26 . [4] the offset error (e o ) is the absolute difference between the straight line which fits the actual cu rve and the straight line which fits the ideal curve. see figure 26 . [5] the gain error (e g ) is the relative difference in percent between the straight line fitting the actual transfe r curve after removing offset error, and the straight line which fits the ideal transfer curve. see figure 26 . [6] the conversion frequency corresponds to the number of samples per second. table 19. adc characteristics (lower resolution) t amb = ? 40 ? c to +85 ? c unless otherwise specified; 12-bit a dc used as 10-bit resolution adc. symbol parameter conditions min typ max unit e d differential linearity error [1] [2] - ? 1- lsb e l(adj) integral non-linearity [3] - ? 1.5 - lsb e o offset error [4] - ? 2- lsb e g gain error [5] - ? 2- lsb f clk(adc) adc clock frequency 3.0 v ? v dda ? 3.6 v - - 33 mhz 2.7 v ? v dda < 3.0 v - - 25 mhz f c(adc) adc conversion frequency 3 v ? v dda ? 3.6 v [6] -- 500 khz 2.7 v ? v dda < 3.0 v [6] -- 400 khz
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 64 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller (1) example of an actual transfer curve. (2) the ideal transfer curve. (3) differential linearity error (e d ). (4) integral non-linearity (e l(adj) ). (5) center of a step of the actual transfer curve. fig 26. 12-bit adc characteristics 002aad948 4095 4094 4093 4092 4091 (2) (1) 4096 4090 4091 4092 4093 4094 4095 7 123456 7 6 5 4 3 2 1 0 4090 (5) (4) (3) 1 lsb (ideal) code out vrefp ? vrefn 4096 offset error e o gain error e g offset error e o v ia (lsb ideal ) 1 lsb =
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 65 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 13. dac electrical characteristics remark: the dac is available on part s lpc1769/68/67/66/65/63. see table 2 . the values of resistor components r i1 and r i2 vary with temperature and input voltage and are process-dependent (see table 20 ). parasitic resistance and capacitance from the pad are not included in this figure. fig 27. adc interface to pins ad0[n] table 20. adc interface components component range description r i1 2 k ? to 5.2 k ? switch-on resistance for channel selection switch. varies with temperature, input voltage, and process. r i2 100 ? to 600 ? switch-on resistance for the comp arator input switch. varies with temperature, input voltage, and process. c1 750 ff parasitic capacitance from the adc block level. c2 65 ff parasitic capacitance from the adc block level. c3 2.2 pf sampling capacitor. lpc17xx ad0[n] 750 ff 65 ff c ia 2.2 pf r vsi r i2 100 - 600 r i1 2 k - 5.2 k v ss v ext 002aaf197 adc comparator block c1 c3 c2 table 21. dac electrical characteristics v dda = 2.7 v to 3.6 v; t amb = ? 40 ? c to +85 ? c unless otherwise specified symbol parameter conditions min typ max unit e d differential linearity error - ? 1-lsb e l(adj) integral non-linearity - ? 1.5 - lsb e o offset error - 0.6 - % e g gain error - 0.6 - % c l load capacitance - 200 - pf r l load resistance 1 - - k ?
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 66 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 14. application information 14.1 suggested usb interface solutions remark: the usb controller is available as a device/host/otg controller on parts lpc1769/68/66/65 and as device-only controller on part lpc1764. fig 28. usb interface on a self-powered device lpc17xx usb-b connector usb_d+ usb_connect softconnect switch usb_d? v bus v ss v dd(3v3) r1 1.5 k r s = 33 002aad939 r s = 33 usb_up_led fig 29. usb interface on a bus-powered device lpc17xx v dd(3v3) r1 1.5 k r2 usb_up_led 002aad940 usb-b connector usb_d+ usb_d? v bus v ss r s = 33 r s = 33
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 67 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller fig 30. usb otg port configuration usb_d+ usb_d? usb_sda usb_scl rstout lpc17xx mini-ab connector 33 33 v dd v dd 002aad941 eintn reset_n adr/psw speed suspend oe_n/int_n scl sda int_n vbus id dp dm isp1302 v ss usb_up_led v dd fig 31. usb host port configuration usb_up_led usb_d+ usb_d? usb_pwrd 15 k 15 k lpc17xx usb-a connector 33 33 002aad942 v dd usb_ovrcr usb_ppwr lm3526-l ena in 5 v flaga outa v dd d+ d? v bus v ss
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 68 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 14.2 crystal oscillator xtal input and component selection the input voltage to the on-chip oscillators is limited to 1.8 v. if the oscillator is driven by a clock in slave mode, it is recommended that th e input be coupled through a capacitor with c i = 100 pf. to limit the input voltage to the specified range, choose an additional capacitor to ground c g which attenuates the input voltage by a factor c i /(c i + c g ). in slave mode, a minimum of 200 mv(rms) is needed. in slave mode the input clock signal should be coupled by means of a capacitor of 100 pf ( figure 33 ), with an amplitude between 200 mv(rms) and 1000 mv(rms). this corresponds to a square wave signal with a signal swing of between 280 mv and 1.4 v. the xtalout pin in this configur ation can be left unconnected. external components and models used in oscillation mode are shown in figure 34 and in ta b l e 2 2 and ta b l e 2 3 . since the feedback resistance is integrated on chip, only a crystal and the capacitances c x1 and c x2 need to be connected externally in case of fundamental mode oscillation (the fundamental frequenc y is represen ted by l, c l and r s ). capacitance c p in figure 34 represents the parallel package capacitance and should not be larger than 7 pf. parameters f osc , c l , r s and c p are supplied by the crystal manufacturer. fig 32. usb device port configuration lpc17xx usb-b connector 33 33 002aad943 usb_up_led usb_connect v dd v dd d+ d? usb_d+ usb_d? v bus v bus v ss fig 33. slave mode operation of the on-chip oscillator lpc1xxx xtal1 c i 100 pf c g 002aae835
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 69 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 14.3 xtal and rtcx printed circui t board (pcb) layout guidelines the crystal should be connected on the pcb as close as poss ible to the oscillator input and output pins of the chip. take care that the load capacitors c x1 , c x2 , and c x3 in case of third overtone crystal usage have a common ground plane. the external components must also be connected to the ground plain. loops must be made as small as possible in fig 34. oscillator modes and models: oscillation mode of operation and external crystal model used for c x1 /c x2 evaluation table 22. recommended values for c x1 /c x2 in oscillation mode (crystal and external components parameters): low frequency mode fundamental oscillation frequency f osc crystal load capacitance c l maximum crystal series resistance r s external load capacitors c x1 /c x2 1 mhz - 5 mhz 10 pf < 300 ? 18 pf, 18 pf 20 pf < 300 ? 39 pf, 39 pf 30 pf < 300 ? 57 pf, 57 pf 5 mhz - 10 mhz 10 pf < 300 ? 18 pf, 18 pf 20 pf < 200 ? 39 pf, 39 pf 30 pf < 100 ? 57 pf, 57 pf 10 mhz - 15 mhz 10 pf < 160 ? 18 pf, 18 pf 20 pf < 60 ? 39 pf, 39 pf 15 mhz - 20 mhz 10 pf < 80 ? 18 pf, 18 pf table 23. recommended values for c x1 /c x2 in oscillation mode (crystal and external components parameters): high frequency mode fundamental oscillation frequency f osc crystal load capacitance c l maximum crystal series resistance r s external load capacitors c x1 , cx2 15 mhz - 20 mhz 10 pf < 180 ? 18 pf, 18 pf 20 pf < 100 ? 39 pf, 39 pf 20 mhz - 25 mhz 10 pf < 160 ? 18 pf, 18 pf 20 pf < 80 ? 39 pf, 39 pf 002aaf424 lpc1xxx xtalin xtalout c x2 c x1 xtal = c l c p r s l
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 70 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller order to keep the noise coupled in via the pcb as small as possible. also parasitics should stay as small as possible. values of c x1 and c x2 should be chosen smaller accordingly to the increase in parasitics of the pcb layout. 14.4 standard i/o pi n configuration figure 35 shows the possible pin modes for standard i/o pins with analog input function: ? digital output driver: open-drain mode enabled/disabled ? digital input: pull-up enabled/disabled ? digital input: pull-down enabled/disabled ? digital input: repeater mode enabled/disabled ? analog input the default configuration for standard i/o pi ns is input with pull-up enabled. the weak mos devices provide a drive capability equiva lent to pull-up and pull-down resistors. fig 35. standard i/o pin configuration with analog input pin v dd v dd esd v ss esd strong pull-up strong pull-down v dd weak pull-up weak pull-down open-drain enable output enable repeater mode enable pull-up enable pull-down enable data output data input analog input select analog input 002aaf272 pin configured as digital output driver pin configured as digital input pin configured as analog input
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 71 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 14.5 reset pin configuration fig 36. reset pin configuration v ss reset 002aaf274 v dd v dd v dd r pu esd esd 20 ns rc glitch filter pin
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 72 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 14.6 electromagnetic co mpatibility (emc) radiated emission measurements according to the iec61967-2 standard using the tem-cell method are shown for part lpc1768. [1] iec levels refer to appendix d in the iec61967-2 specification. table 24. electromagnetic compatibility (emc) for part lpc1768 (tem-cell method) v dd = 3.3 v; t amb = 25 ? c. parameter frequency band system clock = unit 12 mhz 24 mhz 48 mhz 72 mhz 100 mhz input clock: irc (4 mhz) maximum peak level 150 khz - 30 mhz ? 7 ? 6 ? 4 ? 7 ? 7db ? v 30 mhz - 150 mhz +1 +5 +11 +16 +9 db ? v 150 mhz - 1 ghz ? 2+4+11+12+19db ? v iec level [1] -oonml- input clock: crystal oscillator (12 mhz) maximum peak level 150 khz - 30 mhz ? 5 ? 4 ? 4 ? 7 ? 8db ? v 30 mhz - 150 mhz ? 1+5+10+15+7db ? v 150 mhz - 1 ghz ? 1+6+11+10+16db ? v iec level [1] -oonmm-
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 73 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 15. package outline fig 37. package outline sot407-1 (lqfp100) unit a max. a 1 a 2 a 3 b p ce (1) eh e ll p z ywv references outline version european projection issue date iec jedec jeita mm 1.6 0.15 0.05 1.45 1.35 0.25 0.27 0.17 0.20 0.09 14.1 13.9 0.5 16.25 15.75 1.15 0.85 7 0 o o 0.08 0.08 0.2 1 dimensions (mm are the original dimensions) note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. 0.75 0.45 sot407-1 136e20 ms-026 00-02-01 03-02-20 d (1) (1)(1) 14.1 13.9 h d 16.25 15.75 e z 1.15 0.85 d b p e e a 1 a l p detail x l (a ) 3 b 25 c d h b p e h a 2 v m b d z d a z e e v m a x 1 100 76 75 51 50 26 y pin 1 index w m w m 0 5 10 mm scale lqfp100: plastic low profile quad flat package; 100 leads; body 14 x 14 x 1.4 mm sot407-1
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 74 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller fig 38. package outline sot926-1 (tfbga100) references outline version european projection issue date iec jedec jeita sot926-1 - - - - - - - - - sot926-1 05-12-09 05-12-22 unit a max mm 1.2 0.4 0.3 0.8 0.65 0.5 0.4 9.1 8.9 9.1 8.9 a 1 dimensions (mm are the original dimensions) tfbga100: plastic thin fine-pitch ball grid array package; 100 balls; body 9 x 9 x 0.7 mm a 2 b d e e 2 7.2 e 0.8 e 1 7.2 v 0.15 w 0.05 y 0.08 y 1 0.1 0 2.5 5 mm scale b e 2 e 1 e e 1/2 e 1/2 e ac b ? v m c ? w m ball a1 index area a b c d e f h k g j 246810 13579 ball a1 index area b a e d c y c y 1 x detail x a a 1 a 2
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 75 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 16. soldering fig 39. reflow soldering for the lqfp100 package sot407-1 dimensions in mm occupied area footprint information for reflow soldering of lqfp100 package ax bx gx gy hy hx ayby p1 p2 d2 (8) d1 (0.125) ax ay bx by d1 d2 gx gy hx hy p1 p2 c sot407-1 solder land c generic footprint pattern refer to the package outline drawing for actual layout 17.300 17.300 14.300 14.300 0.500 0.560 0.280 1.500 0.400 14.500 14.500 17.550 17.550
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 76 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller fig 40. reflow soldering of the tfbga100 package dimensions in mm pslspsrhxhy hx hy sot926-1 solder land plus solder paste occupied area footprint information for reflow soldering of tfbga100 package solder land solder paste deposit solder resist p p sl sp sr generic footprint pattern refer to the package outline drawing for actual layout detail x see detail x sot926-1_fr 0.80 0.330 0.400 0.480 9.400 9.400
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 77 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 17. abbreviations table 25. abbreviations acronym description adc analog-to-digital converter ahb advanced high-performance bus amba advanced microcontroller bus architecture apb advanced peripheral bus bod brownout detection can controller area network dac digital-to-analog converter dma direct memory access eop end of packet gpio general purpose input/output irc internal rc irda infrared data association jtag joint test action group mac media access control miim media independent interface management ohci open host controller interface otg on-the-go phy physical layer pll phase-locked loop pwm pulse width modulator rit repetitive interrupt timer rmii reduced media independent interface se0 single ended zero spi serial peripheral interface ssi serial synchronous interface ssp synchronous serial port tcm tightly coupled memory ttl transistor-transistor logic uart universal asynchronous receiver/transmitter usb universal serial bus
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 78 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 18. revision history table 26. revision history document id release date data sheet status change notice supersedes lpc1769_68_67_66_65_64_63 v.9 20120810 product data sheet - lpc1769_68_67_66_65_64 v.8 modifications: ? remove table note ?the peak current is limited to 25 times the corresponding maximum current.? from table 5 ? limiting values ? . ? change v dd(3v3) to v dd(reg)(3v3) in section 11.3 ? internal oscillators ? . ? glitch filter constant changed to 10 ns in table note 6 in ta b l e 4 . ? description of reset function updated in ta b l e 4 . ? pull-up value added for gpio pins in ta b l e 4 . ? pin configuration diagram for lqfp100 package corrected ( figure 2 ). lpc1769_68_67_66_65_64_63 v.8 20 111114 product data sheet - lpc 1769_68_67_66_65_64 v.7 modifications: ? pin description of usb_up_led pin updated in table 4. ? r i1 and r i2 labels in figure 27 updated. ? part lpc1765fet100 added. ? table note 10 updated in table 4. ? table note 1 updated in table 12. ? pin description of stclk pin updated in table 4. ? electromagnetic compatibility data added in section 14.6. ? section 16 added. lpc1769_68_67_66_65_64_63 v.7 20110405 product data sheet - lpc1769_68_67_66_65_64 v.6 modifications: ? pin description of pins p0[29] and p0[30] updated in table note 5 of table 4. pins are not 5 v tolerant. ? typical value for parameter n endu added in table 9. ? parameter v hys for i 2 c bus pins: typical value corrected v hys = 0.05v dd(3v3) in ta b l e 7 . ? condition 3.0 v ? v dd(3v3) ? 3.6 v added in table 16. ? typical values for parameters i dd(reg)(3v3) and i bat with condition deep power-down mode corrected in table 7 and table note 9, table note 10, and table note 11 updated. ? for deep power-down mode, figure 9 updated and figure 10 added. lpc1769_68_67_66_65_64_63 v.6 20100825 product data sheet - lpc1769_68_67_66_65_64 v.5 modifications: ? part lpc1768tfbga added. ? section 7.30.2; bo d level corrected. ? added section 10.2. lpc1769_68_67_66_65_64_63 v.5 20100716 product data sheet - lpc1769_68_67_66_65_64 v.4 lpc1769_68_67_66_65_64 v.4 20100201 product data sheet - lpc1768_67_66_65_64 v.3 lpc1768_67_66_65_64 v.3 20091119 product data sheet - lpc1768_66_65_64 v.2 lpc1768_66_65_64 v.2 20090211 objective data sheet - lpc1768_66_65_64 v.1 lpc1768_66_65_64 v.1 20090115 objective data sheet - -
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 79 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 19. legal information 19.1 data sheet status [1] please consult the most recently issued document before initiating or completing a design. [2] the term ?short data sheet? is explained in section ?definitions?. [3] the product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple device s. the latest product status information is available on the internet at url http://www.nxp.com . 19.2 definitions draft ? the document is a draft versi on only. the content is still under internal review and subject to formal approval, which may result in modifications or additions. nxp semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall hav e no liability for the consequences of use of such information. short data sheet ? a short data sheet is an extract from a full data sheet with the same product type number(s) and title. a short data sheet is intended for quick reference only and should not be relied upon to contain detailed and full information. for detailed and full information see the relevant full data sheet, which is available on request vi a the local nxp semiconductors sales office. in case of any inconsistency or conflict with the short data sheet, the full data sheet shall prevail. product specification ? the information and data provided in a product data sheet shall define the specification of the product as agreed between nxp semiconductors and its customer , unless nxp semiconductors and customer have explicitly agreed otherwis e in writing. in no event however, shall an agreement be valid in which the nxp semiconductors product is deemed to offer functions and qualities beyond those described in the product data sheet. 19.3 disclaimers limited warranty and liability ? information in this document is believed to be accurate and reliable. however, nxp semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such info rmation. nxp semiconductors takes no responsibility for the content in this document if provided by an information source outside of nxp semiconductors. in no event shall nxp semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including - without limitation - lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory. notwithstanding any damages that customer might incur for any reason whatsoever, nxp semiconductors? aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the terms and conditions of commercial sale of nxp semiconductors. right to make changes ? nxp semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. this document supersedes and replaces all information supplied prior to the publication hereof. suitability for use ? nxp semiconductors products are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an nxp semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. nxp semiconductors and its suppliers accept no liability for inclusion and/or use of nxp semiconducto rs products in such equipment or applications and therefore such inclusion and/or use is at the customer?s own risk. applications ? applications that are described herein for any of these products are for illustrative purpos es only. nxp semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. customers are responsible for the design and operation of their applications and products using nxp semiconductors products, and nxp semiconductors accepts no liability for any assistance with applications or customer product design. it is customer?s sole responsibility to determine whether the nxp semiconductors product is suitable and fit for the customer?s applications and products planned, as well as fo r the planned application and use of customer?s third party customer(s). customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products. nxp semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default in the customer?s applications or products, or the application or use by customer?s third party customer(s). customer is responsible for doing all necessary testing for the customer?s applic ations and products using nxp semiconductors products in order to av oid a default of the applications and the products or of the application or use by customer?s third party customer(s). nxp does not accept any liability in this respect. limiting values ? stress above one or more limiting values (as defined in the absolute maximum ratings system of iec 60134) will cause permanent damage to the device. limiting values are stress ratings only and (proper) operation of the device at these or any other conditions above those given in the recommended operating conditions section (if present) or the characteristics sections of this document is not warranted. constant or repeated exposure to limiting values will permanently and irreversibly affect the quality and reliability of the device. terms and conditions of commercial sale ? nxp semiconductors products are sold subject to the gener al terms and conditions of commercial sale, as published at http://www.nxp.com/profile/terms , unless otherwise agreed in a valid written individual agreement. in case an individual agreement is concluded only the terms and conditions of the respective agreement shall apply. nxp semiconductors hereby expressly objects to applying the customer?s general terms and conditions with regard to the purchase of nxp semiconducto rs products by customer. no offer to sell or license ? nothing in this document may be interpreted or construed as an offer to sell products t hat is open for acceptance or the grant, conveyance or implication of any lic ense under any copyrights, patents or other industrial or intellectual property rights. document status [1] [2] product status [3] definition objective [short] data sheet development this document contains data from the objecti ve specification for product development. preliminary [short] data sheet qualification this document contains data from the preliminary specification. product [short] data sheet production this document contains the product specification.
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 80 of 82 nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller export control ? this document as well as the item(s) described herein may be subject to export control regu lations. export might require a prior authorization from competent authorities. non-automotive qualified products ? unless this data sheet expressly states that this specific nxp semicon ductors product is automotive qualified, the product is not suitable for automotive use. it is neither qualified nor tested in accordance with automotive testing or application requirements. nxp semiconductors accepts no liabili ty for inclusion and/or use of non-automotive qualified products in automotive equipment or applications. in the event that customer uses t he product for design-in and use in automotive applications to automotive specifications and standards, customer (a) shall use the product without nxp semiconductors? warranty of the product for such automotive applicat ions, use and specifications, and (b) whenever customer uses the product for automotive applications beyond nxp semiconductors? specifications such use shall be solely at customer?s own risk, and (c) customer fully indemnifies nxp semiconductors for any liability, damages or failed product claims resulting from customer design and use of the product for automotive app lications beyond nxp semiconductors? standard warranty and nxp semiconduct ors? product specifications. 19.4 trademarks notice: all referenced brands, produc t names, service names and trademarks are the property of their respective owners. i 2 c-bus ? logo is a trademark of nxp b.v. 20. contact information for more information, please visit: http://www.nxp.com for sales office addresses, please send an email to: salesaddresses@nxp.com
lpc1769_68_67_66_65_64_63 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2012. all rights reserved. product data sheet rev. 9.0 ? 10 august 2012 81 of 82 continued >> nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller 21. contents 1 general description . . . . . . . . . . . . . . . . . . . . . . 1 2 features and benefits . . . . . . . . . . . . . . . . . . . . 1 3 applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 4 ordering information . . . . . . . . . . . . . . . . . . . . . 4 4.1 ordering options . . . . . . . . . . . . . . . . . . . . . . . . 4 5 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 pinning information . . . . . . . . . . . . . . . . . . . . . . 6 6.1 pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 6.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . 8 7 functional description . . . . . . . . . . . . . . . . . . 18 7.1 architectural overview . . . . . . . . . . . . . . . . . . 18 7.2 arm cortex-m3 processor . . . . . . . . . . . . . . . 18 7.3 on-chip flash program memo ry . . . . . . . . . . . 18 7.4 on-chip sram . . . . . . . . . . . . . . . . . . . . . . . . 18 7.5 memory protection unit (mpu). . . . . . . . . . . . 18 7.6 memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 19 7.7 nested vectored interrupt controller (nvic) . 21 7.7.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.7.2 interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 21 7.8 pin connect block . . . . . . . . . . . . . . . . . . . . . . 21 7.9 general purpose dma controller . . . . . . . . . . 21 7.9.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 7.10 fast general purpose parallel i/o . . . . . . . . . . 22 7.10.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 7.11 ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 7.11.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 7.12 usb interface . . . . . . . . . . . . . . . . . . . . . . . . 24 7.12.1 usb device controller . . . . . . . . . . . . . . . . . . . 24 7.12.1.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 7.12.2 usb host controller . . . . . . . . . . . . . . . . . . . . 25 7.12.2.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.12.3 usb otg controller . . . . . . . . . . . . . . . . . . . . 25 7.12.3.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.13 can controller and acceptance filters . . . . . . 25 7.13.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.14 12-bit adc . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.14.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.15 10-bit dac . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.15.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.16 uarts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 7.16.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 7.17 spi serial i/o controller. . . . . . . . . . . . . . . . . . 27 7.17.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 7.18 ssp serial i/o controller . . . . . . . . . . . . . . . . . 27 7.18.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.19 i 2 c-bus serial i/o controllers. . . . . . . . . . . . . . 28 7.19.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.20 i 2 s-bus serial i/o controllers . . . . . . . . . . . . . 29 7.20.1 features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.21 general purpose 32-bit timers/external event counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.21.1 features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.22 pulse width modulator . . . . . . . . . . . . . . . . . . 30 7.22.1 features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.23 motor control pwm . . . . . . . . . . . . . . . . . . . . 31 7.24 quadrature encoder inte rface (qei) . . . . . . . 31 7.24.1 features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.25 repetitive interrupt (ri) timer. . . . . . . . . . . . . 32 7.25.1 features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.26 arm cortex-m3 system tick timer . . . . . . . . . 32 7.27 watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 32 7.27.1 features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.28 rtc and backup registers . . . . . . . . . . . . . . . 33 7.28.1 features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.29 clocking and power control . . . . . . . . . . . . . . 33 7.29.1 crystal oscillators . . . . . . . . . . . . . . . . . . . . . . 33 7.29.1.1 internal rc oscillator . . . . . . . . . . . . . . . . . . . 34 7.29.1.2 main oscillator . . . . . . . . . . . . . . . . . . . . . . . . 34 7.29.1.3 rtc oscillator . . . . . . . . . . . . . . . . . . . . . . . . 34 7.29.2 main pll (pll0) . . . . . . . . . . . . . . . . . . . . . . 35 7.29.3 usb pll (pll1) . . . . . . . . . . . . . . . . . . . . . . 35 7.29.4 rtc clock output . . . . . . . . . . . . . . . . . . . . . . 35 7.29.5 wake-up timer . . . . . . . . . . . . . . . . . . . . . . . . 35 7.29.6 power control . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.29.6.1 sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.29.6.2 deep-sleep mode. . . . . . . . . . . . . . . . . . . . . . 36 7.29.6.3 power-down mode . . . . . . . . . . . . . . . . . . . . . 37 7.29.6.4 deep power-down mode . . . . . . . . . . . . . . . . 37 7.29.6.5 wake-up interrupt controller . . . . . . . . . . . . . 37 7.29.7 peripheral power control . . . . . . . . . . . . . . . . 37 7.29.8 power domains . . . . . . . . . . . . . . . . . . . . . . . 38 7.30 system control . . . . . . . . . . . . . . . . . . . . . . . . 39 7.30.1 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 7.30.2 brownout detection . . . . . . . . . . . . . . . . . . . . 40 7.30.3 code security (code read protection - crp) 40 7.30.4 apb interface . . . . . . . . . . . . . . . . . . . . . . . . . 40 7.30.5 ahb multilayer matrix . . . . . . . . . . . . . . . . . . 41 7.30.6 external interr upt inputs . . . . . . . . . . . . . . . . . 41 7.30.7 memory mapping control . . . . . . . . . . . . . . . . 41 7.31 emulation and debugging . . . . . . . . . . . . . . . 41 8 limiting values . . . . . . . . . . . . . . . . . . . . . . . . 42 9 thermal characteristics . . . . . . . . . . . . . . . . . 43 10 static characteristics . . . . . . . . . . . . . . . . . . . 44 10.1 power consumption . . . . . . . . . . . . . . . . . . . . 47
nxp semiconductors lpc1769/68/67/66/65/64/63 32-bit arm cortex-m3 microcontroller ? nxp b.v. 2012. all rights reserved. for more information, please visit: http://www.nxp.com for sales office addresses, please se nd an email to: salesaddresses@nxp.com date of release: 10 august 2012 document identifier: lpc1769_68_67_66_65_64_63 please be aware that important notices concerning this document and the product(s) described herein, have been included in section ?legal information?. 10.2 peripheral power consumpt ion . . . . . . . . . . . . 50 10.3 electrical pin characteristics . . . . . . . . . . . . . . 51 11 dynamic characteristics . . . . . . . . . . . . . . . . . 53 11.1 flash memory . . . . . . . . . . . . . . . . . . . . . . . . . 53 11.2 external clock . . . . . . . . . . . . . . . . . . . . . . . . . 53 11.3 internal oscillators. . . . . . . . . . . . . . . . . . . . . . 54 11.4 i/o pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 11.5 i 2 c-bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 11.6 i 2 s-bus interface . . . . . . . . . . . . . . . . . . . . . . 56 11.7 ssp interface . . . . . . . . . . . . . . . . . . . . . . . . . 58 11.8 usb interface . . . . . . . . . . . . . . . . . . . . . . . . 59 11.9 spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 12 adc electrical characteristics . . . . . . . . . . . . 62 13 dac electrical characteristics . . . . . . . . . . . . 65 14 application information. . . . . . . . . . . . . . . . . . 66 14.1 suggested usb interface solutions . . . . . . . . 66 14.2 crystal oscillator xtal input and component selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 14.3 xtal and rtcx prin ted circuit board (pcb) layout guidelines . . . . . . . . . . . . . . . . . . . . . . . 69 14.4 standard i/o pin configuration . . . . . . . . . . . . 70 14.5 reset pin configuration . . . . . . . . . . . . . . . . . . 71 14.6 electromagnetic compatibility (emc) . . . . . . . 72 15 package outline . . . . . . . . . . . . . . . . . . . . . . . . 73 16 soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 17 abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . 77 18 revision history . . . . . . . . . . . . . . . . . . . . . . . . 78 19 legal information. . . . . . . . . . . . . . . . . . . . . . . 79 19.1 data sheet status . . . . . . . . . . . . . . . . . . . . . . 79 19.2 definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 19.3 disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 19.4 trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . . 80 20 contact information. . . . . . . . . . . . . . . . . . . . . 80 21 contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81


▲Up To Search▲   

 
Price & Availability of LPC1768FET100

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X